Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.3 KB

README.md

File metadata and controls

32 lines (24 loc) · 1.3 KB

Go automate for BrowserStack

https://automate.browserstack.com/

This is the automation for BrowserStack. Users can use this package to automate visiting any websites for any os and browsers for testing.

Below are five parameters for users to set in .env as their accounts of BrowserStack and Url that they would visit.

Parameters

  • BROWSERSTACK_USERNAME: BrowserStack user name
  • BROWSERSTACK_ACCESS_KEY: BrowserStack access key
  • BROWSERSTACK_URL: the url address users will visit
  • BROWSERSTACK_HOSTS: binding of IP address and DNS
  • BROWSERSTACK_RUN_LOCAL: boolean value, true if users want to visit interanl network for local teseting. For the format, please refer to .env.example

Run Locally

If users want to visit internal url, e.g., http://localhost:8080, users need to start the local connection first.

./BrowserStackLocal --key BROWSERSTACK_ACCESS_KEY
  • Then users can execute the package to perform local testing.

Run

make