New Project
===========
Copy /usr/share/browserstack-selenium/browserstack.yml into your project.
Set BrowserStack Credentials
============================
Add your BrowserStack username and access key in the browserstack.yml config fle.
You can also export them as environment variables, BROWSERSTACK_USERNAME and BROWSERSTACK_ACCESS_KEY:
export BROWSERSTACK_USERNAME=
export BROWSERSTACK_ACCESS_KEY=
Running tests
=============
Run sample test:
To run the sample test across platforms defined in the project's browserstack.yml file, run:
browserstack-sdk /usr/share/browserstack-selenium/test.py
Run tests on locally hosted website:
To run the local test across platforms defined in the project's browserstack.yml file, run:
browserstack-sdk /usr/share/browserstack-selenium/local-test.py
|