A simple python test suite example that runs 3 tests across web 5 browsers on Browserstack in parallel.
pip install requirements.txt
Make sure you have python3 python3-pytest python3-pytest-xdist
installed
Make sure your env variables are correctly set:
BROWSERSTACK_USERNAME=username
BROWSERSTACK_ACCESS_KEY=key
python3 -m pytest -n 3 -rA