This is a minimal Robot Framework setup with one test case that opens a URL on BrowserStack using BrowserStack SDK.
- Python 3.9+
- BrowserStack account
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtexport BROWSERSTACK_USERNAME="your_username"
export BROWSERSTACK_ACCESS_KEY="your_access_key"The SDK reads these variables through browserstack.yml.
If not provided, default is https://example.com.
export TEST_URL="https://www.example.com"browserstack-sdk robot tests/browserstack_open_url.robotIf needed, install/refresh dependencies first:
pip install -r requirements.txtRobot reports are generated as:
report.htmllog.htmloutput.xml