How to setup a connection for Local Testing?

Connections for Local Testing can be set up in one of two ways:

1. Browser extensions for Chrome and Firefox: Browser extensions are the easiest way to set up connections for Local Testing. The extensions do not use Java applets or SSH, and are therefore the most stable option. When using BrowserStack Live for the first time, the user is prompted to add the extension right after signing in. Otherwise, they can be added and installed by clicking on ‘Local’ button on the dock that appears on remote browsers. After that, URLs work out of the box from the remote browser, as they would in your local machine.

Note: Browser extensions are available for Chrome 31+ and Firefox 38+, and can be used for Live, Screenshots, and Responsive. For Local Testing on Automate, older versions of Chrome or Firefox, and other browsers, we recommend using the binaries to create a connection.

2. Binaries: This type of connection is established using a binary executed from your command-line interface. The parameters of the connection are passed through the statement, and an active testing session is created.

While the browser extensions are specific to Chrome and Firefox, the binaries work with every browser. You can find more detailed instructions in our Local Testing documentation.