Automate with Selenium | BrowserStack Docs
Automate with Selenium
Use BrowserStack Automate to run your Selenium tests on an extensive list of browsers and mobile devices, with support for CI and Local testing.
Real desktops and mobile devices
Test on 3500+ real desktop and mobile browsers with our Selenium grid. We also offer Custom Device Lab for specialized testing needs.
Integrating with BrowserStack SDK
Just install the SDK for your framework, and start testing within one minute with no code changes.
Parallel testing
Run hundreds of tests concurrently to speed up the execution time of your test suite by more than 10x.
Comprehensive debugging tools
Test runs capture all logs including text, console, video network etc. Access them via dashboard or API.
Faster, stable test automation with AI Agents
Boost productivity and stability across your test lifecycle with the following AI Agents:
Self-Healing Agent – Fixes broken locators due to DOM shifts in real time
Test Failure Analysis Agent – Uses AI to analyze failed tests and suggests root cause
Popular Documents
- Handle pop-ups, permissions, and notifications
- Set Firefox profile
- Basic HTTP authentication
- Change browsers window size
- Accept insecure certificates
- Set Chrome options
Quick Topics
- Select browsers and devices
- Change device orientation
- Organize tests
- Take screenshots
- Debugging options
- AI self-healing
Developer Resources
- API References](/content/docs/automate/api-reference/selenium/introduction/index.html)
- SDK](/content/docs/automate/selenium/sdk-config-generator/index.html)
- Capability Generator](/content/docs/automate/capabilities/index.html)
- Error Codes](/content/docs/automate/selenium/error-codes/index.html)
- Integrations](/content/integrations/automate/index.html)
- Browsers & Devices](/content/list-of-browsers-and-platforms/automate/index.html)
- Device Features](/content/real-device-features#automate/index.html)
- Release Notes](/content/docs/static/img/product-overview/icons/release-notes.svg)
- Custom Device Lab](/content/docs/custom-device-lab/overview/index.html)
Support
Get answers on our Discord Community
Get your setup working faster. Join our Discord for optimisation tips from elite testers.
Talk to an Expert
Frameworks and Languages
Appium
Maestro](/content/docs/app-automate/maestro/index.html)
Espresso](/content/docs/app-automate/espresso/index.html)
XCUITest](/content/docs/app-automate/xcuitest/index.html)
Flutter](/content/docs/app-automate/flutter/index.html)
Detox](/content/docs/app-automate/detox/index.html)
Mobilewright](/content/docs/app-automate/mobilewright/index.html)
Smart TV](/content/docs/app-automate/smart-tv/index.html)
Selenium
Playwright
Cypress](/content/docs/automate/cypress/index.html)
JS Testing API](/content/docs/automate/javascript-testing/index.html)
Puppeteer](/content/docs/automate/puppeteer/index.html)
Generic Selenium Guides
- Java](/content/docs/automate/selenium/index.html)
- NodeJS](/content/docs/automate/selenium/index.html)
- Python](/content/docs/automate/selenium/index.html)
- C#](/content/docs/automate/selenium/index.html)
- PHP](/content/docs/automate/selenium/index.html)
- Ruby](/content/docs/automate/selenium/index.html)