Supported Selenium versions for Selenium tests on BrowserStack Automate
Learn about the Selenium versions supported on BrowserStack Automate and how to specify a version in your Selenium tests.
BrowserStack Automate supports the Selenium 4.x, 3.x, and 2.x series so you can run your existing test suite without upgrading your Selenium client version. This document lists the Selenium versions supported on BrowserStack Automate and how to specify the version you want in your test script through capabilities.
Supported Selenium versions
The following table lists the Selenium versions supported on BrowserStack Automate, grouped by major version:
| Selenium version | Supported versions |
|---|---|
| Selenium 4.x | 4.0.0, 4.1.0, 4.1.2, 4.2.2, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.2, 4.8.0, 4.9.1, 4.10.0, 4.11.0, 4.12.1, 4.13.0, 4.14.1, 4.15.0, 4.16.1, 4.17.0, 4.18.1, 4.19.1, 4.20.0, 4.21.0, 4.22.0, 4.23.0, 4.24.0, 4.25.0, 4.26.0, 4.27.0, 4.28.0, 4.29.0, 4.30.0, 4.31.0, 4.32.0, 4.33.0, 4.34.0, 4.35.0, 4.36.0, 4.37.0, 4.38.0, 4.39.0, 4.40.0, 4.41.0, 4.42.0, 4.43.0, 4.44.0, 4.45.0 |
| Selenium 3.x | 3.5.3, 3.6.0, 3.7.0, 3.7.1, 3.8.0, 3.8.1, 3.9.0, 3.9.1, 3.10.0, 3.11.0, 3.12.0, 3.13.0, 3.14.0, 3.141.0 (default), 3.141.5, 3.141.59 |
| Selenium 3 (beta/early) | 3.0.0-beta1, 3.0.0-beta2, 3.0.0-beta4, 3.0.0, 3.0.1, 3.1.0, 3.2.0, 3.3.0, 3.3.1, 3.4.0, 3.5.2 |
| Selenium 2.x | 2.37.0, 2.40.0, 2.41.0, 2.42.1, 2.42.2, 2.43.1, 2.44.0, 2.45.0, 2.46.0, 2.47.1, 2.48.2, 2.49.0, 2.50.0, 2.51.0, 2.52.0, 2.53.0, 2.53.1 |
If you donβt set a Selenium version capability in your test script, BrowserStack Automate runs your test on the default version, 3.141.0.
Specify the Selenium version in your tests
The capability you use to specify a Selenium version depends on whether your test script uses the W3C WebDriver protocol, Selenium 4, or the legacy JSON Wire Protocol, Selenium 3.x and 2.x.
Selenium 4 uses the W3C WebDriver protocol. Set the seleniumVersion capability under bstack:options to run your test on a specific Selenium 4 version.
Related topic
Learn how to select browsers and devices for your Selenium tests on BrowserStack Automate.
Need some help?
If you have a use case where you need to use a Selenium version other than the ones we support, contact us.
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!