how to make shortcut of my localhost project on desktop - google-chrome

I have a web app project which I want to have a shortcut on my desktop so that I will only open it to access my project on a browser. How to do this? Thanks.

It is almost duplicate of this
But FYR, I answer you with the same answer I gave to it.
Open your page in a browser (e.i Chrome)
Click the Option Button on right upper corner of the browser (the 3 vertical dot icon -atleast in my case.).
On More Tools Click Add to Desktop
Then provide what name you like.

Related

Is there a way to open a new version of Chrome, without Selenium

When starting Chrome with Selenium, it opens up a new version of the browser.
No history, no bookmarks and default settings as if it just got installed.
Is there a way to open a new version of Chrome like Selenium does, without using Selenium?
I already know about incognito mode or profiles. I searched online but can't anything.
Thanks for your help
The easiest way,
On the top right corner beside the kebab menu click on the profile pic. Then click on Guest option in the bottom of the drop down menu. It will open a fresh profile for you to use.
You can open chrome with different profile using command line switch. But you have to specify the directory and if you use the same directory it will use the same profile. Change the directory from the following to your liking.
start chrome --user-data-dir=C:\tempdir\

How does the 1Password Chrome Extension achieve rounded corners?

There are many (1 2 3) answers on Stackoverflow saying a Chrome extension cannot have rounded corners when opened, and yet... The 1Password extension does.
I've noticed the extension is draggable unlike other extensions, and I've noticed I can't right click and inspect it. I've also noticed that if I drag it very quickly, a 'ghost' extension flickers in the middle of my screen.
Any ideas whats going on?
What you're seeing is not part of the Chrome extension, but the 1Password application itself. The extension merely acts as a middleman between Chrome and the real password manager app on your computer. In fact, the 1Password extension requires the 1Password app to be installed on your computer in order to work. When you click on the icon, that's not a popup window, but a native window created by the 1Password app itself. This is done through native messaging.

Open A Particular Website In Chrome Using Shortcut

I want to open a particular website in Google Chrome using a shortcut.
Example: Ctrl+f to open example.com
How can I do this?
Step 1: Create a Desktop Shortcut.
Go to the website, and drag the Lock icon to your desktop (the icon appears to the left of the URL).
Reference: [patientrewardshub.com][1]
(You can then edit the name of the shortcut by right clicking and selecting "rename").
Google Chrome:
Mozilla Firefox:
Apple Safari:
Internet Explorer:
Step 2: Assign a Keyboard Shortcut to the Desktop Shortcut
Right click on the Desktop shortcut, click on properties, choose the shortcut.
For reference: https://support.microsoft.com/en-us/kb/140443 (no longer available since Windows 10 was stuffed down our throats).

Not able to copy text,XPath or other attribute from the chrome developer tool

I followed the approach mentioned in how to emulate a mobile (android) browser on desktop
to project the mobile webpage's properties on desktop chrome browser. I was successfully able to do that but now I have some queries as mentioned below, please let me know your inputs on that
a) How to use the "Select element option" of chrome developer toolbar to view an element's property for a mobile webpage. In normal desktop chrome browser we have the web page displayed and below that the developer toolbar is displayed and we can easily spot the element using a pointer but with mobile webpage displayed on desktop chrome browser i am not able to use this option as the webpage is not displayed.
b) I tried to copy the xpath and other things from the displayed HTML (HTML of mobile webpage on desktop chrome browser) but it gave me an error that "You need to install a Chrome extension that grants clipboard access to Developer tools". I installed one such extension named: "Auto Copy" but then also I was not able to copy. Please let me know how to go about it.
Thanks a lot in advance,
Namit
For (B) – Judging from the discussion when that message was introduced, it sounds like you need to roll your own simple custom extension to enable clipboard access. Here's a sample manifest.json – I haven't tested it out myself, but it looks pretty straightforward. The extension development Getting Started guide explains how to turn a file like this into a working extension and install it locally.

How can I get Aptana to work with Google Chrome?

Is there a way for me to get Google Chrome to launch in Aptana?
I tried adding it under Web Browsers but when launching the webpage, from Aptana, it launches it in Firefox instead.
Selecting Default system browser doesn't work either.
How I would do it is where the green > button is, at the top (next to debug), go into run configuration and add a new entry for google chrome.
The path for chromes exe is at (Win7)
C:\Users\USERNAME\AppData\Local\Google\Chrome\Application\chrome.exe
WinXP
C:\Documents and Settings\<username>\Local Settings\Application\chrome.exe
Then you can run that straight from the drop down menu. This is the way I do it, however it may not be applicable for your situation.
I added Chrome to the Run Configurations ...
I deleted Firefox from the General > Web Browser settings.
I restarted Aptana Studio 3 and now, when I click on the green arrow run button, Chrome is the browser.
Say hello to F12 and debugging HTML and JavaScript with ease.
I have Windows 7 and followed the advice listed above for the 'green button'. For Chrome, my file path was "C:\Users\user name\AppData\Local\Google\Chrome\Application\chrome.exe". It was very simple and worked beautifully. Thank you.
rickyduck's answer applies but the path to Chrome may have changed in newer versions to :
C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
That's the path I had to use.
rickyduck's answer is exactly what I have been looking for! Thanks Ricky!
To get the exact path to chrome on your machine, just go to your start menu, type in chrome and when it comes up, right click on it and select the Shortcut tab to copy the target path and paste right into Aptana.
Another way to directly launch chrome upon pressing green button is to delete other browsers from run -> run configuration -> web browser . . . and leave chrome alone . . if you want other browsers you can add later on . .
You can add as many browsers as you want. Click on Run -> Run Configurations then right-click on Web Browser in the left nav pane, then select New. Use the Browse button to get the application path then at the top of the dialog, type in a descriptive name. Click Apply and Close. You now have more than one browser to choose from for testing.
I added Chrome to run configurations, and deleted Firefox and IE, also changed likewise under General Web Browsers. The Chrome tab doesn't show up on Green dropdown. If I exit program and restart, the Firefox and IE are back again, but still now Chrome.
Click the tiny black arrow thats looks at the bottom and is located at the top, next to the green Run button:
Choose Run Configurations and then you should see a Browser executable field, under the Web Browser tab:
where you want to click Browse, navigate to the Google Chrome executable (at my Max OS X at El capitan: Applications -> Google Chrome) and double click on it.
Then, click Apply (in the Run Configurations window). Then Run.
That's it! :)
Tested with Aptana Studio 3, installed like this on Mac.