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.
- 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
If users want to visit internal url, e.g., http://localhost:8080, users need to start the local connection first.
- First visit here(https://www.browserstack.com/local-testing/app-automate) and go to command-line interface part
- Follow the instruction to install and execute the execution file by the following command
./BrowserStackLocal --key BROWSERSTACK_ACCESS_KEY
- Then users can execute the package to perform local testing.
make