Blog

How to View a Website on Mac Using Localhost and BrowserStack.com
Posted on October 22, 2015 in BrowserStack.com, Mac by Matt Jennings

Steps to view a website on localhost (like localhost:8888) using BrowserStack.com on a Mac:

  1. Download the appropriate executable Mac file on this BrowserStack.com page.
  2. Open Terminal and navigate to downloaded file which should be named BrowserStackLocal.
  3. Open Google Chrome and make sure you install the “BrowserStack” and “BrowserStack Local” extensions.
  4. In Google Chrome log into your BrowserStack.com paid account, and go to your local testing account page where you should see an Access Key heading with an access key that is similar to:
    DsVSdoJPBi2z44sbGFx1.
  5. Go back to Terminal and run a similar command below but with your BrowserStack.com access key. The example code is:
    ./BrowserStackLocal -f DsVSdoJPBi2z44sbGFx1 /Applications/MAMP/htdocs/example/
  6. After that above code finishes executing Terminal should say that you can successfully run websites on localhost using BrowserStack.com.
  7. Make sure the “BrowserStack” and
  8. In Google Chrome, go to your localhost website address, something like https://www.mattjennings.net:8888/.
  9. Click on the Google Chrome BrowserStack plugin button and you should go to a BrowserStack.com page where you can should an operating system and browser to open, like Windows 7, IE9. Choose Windows 7, IE9 and and that browser and operating system will open. Then you will be able to go to your localhost website, like https://www.mattjennings.net:8888/.

Leave a Reply