Skip to main content

Supported browsers and versions

Learn about the capabilities that you can use to run tests on a particular browser / version.

Select a framework that lists the capabilities to specify the browser combinations for your test.

Selenium capabilities

The following is a list of capabilities Selenium offers to specify the browser and the OS.

Capability Description Expected values
browserName Browser you want to test Firefox, Google Chrome, Microsoft Edge, Opera

Default: Google Chrome
browserVersion Browser version you want to test Supported versions on a particular grid.

You can also use latest, latest - 1, latest - 2, etc., to test on the latest n versions of the specified browser as you specify..

Default: Latest stable version supported by Grid for the browser selected.

Selenium capability rules

The following rules are defined to help you specify which browser/OS/device combination to test on, resolving capability conflicts.

  • The value ANY, if given to any capability that supports that value, is same as the capability preference not specified.
  • The default browser is Chrome when no browser is declared by the user or the selenium API (implicitly).

Supported browser versions for Selenium

The following are the supported browser versions for different browsers in Automation Grid. Use the browserVersion capability to run Selenium sessions on specific browser versions.

Google Chrome

For Chrome, the following browser versions are supported to run Selenium sessions. Set the browser capability to chrome and browserVersion capability with one of the following values to run a test on a particular version of Chrome.

Supported Versions
121.0, 120.0, 119.0, 118.0, 117.0, 116.0, 115.0, 114.0, 113.0, 112.0, 111.0

Mozilla Firefox

For Firefox, the following browser versions are supported to run Selenium sessions. Set the browser capability to firefox and browserVersion capability with one of the following values to run a test on a particular version of Firefox.

Supported Versions
122.0, 121.0, 120.0, 119.0, 118.0, 117.0, 116.0, 115.0, 114.0, 113.0, 112.0, 111.0

Microsoft Edge

For Edge, the following browser versions are supported to run Selenium sessions. Set the browser capability to MicrosoftEdge and browserVersion capability with one of the following values to run a test on a particular version of Edge.

Supported Versions
121.0, 120.0, 119.0, 118.0, 117.0, 116.0, 115.0, 114.0, 113.0, 112.0, 111.0

Supported Playwright versions, browsers and OSes for Playwright tests

When running any Playwright test, you have to specify the OS and browser that you want to use for the test. This document lists all of the supported browsers, Playwright and OS versions for cross-browser Playwright tests, as well as the values to specify in the capability to accomplish that.

Playwright compatible devices and browsers

The following table lists the supported Playwright versions and the compatible device and browser versions:

Playwright versions Platforms Browser versions        
1.41 Linux playwright-chromium v121.0
playwright-firefox v121.0
playwright-webkit v17.4
Chrome 120.0
Edge 120.0
1.40 Linux playwright-chromium v120.0
playwright-firefox v119.0
playwright-webkit v17.4
Chrome 119.0
Edge 119.0
1.39 Linux playwright-chromium v119.0
playwright-firefox v118.0
playwright-webkit v17.4
Chrome 118.0
Edge 118.0
1.38 Linux playwright-chromium v117.0
playwright-firefox v117.0
playwright-webkit v17.0
Chrome 116.0
Edge 116.0
1.37 Linux playwright-chromium v116.0
playwright-firefox v115.0
playwright-webkit v17.0
Chrome 115.0
Edge 115.0
1.28 Linux playwright-chromium v108.0
playwright-firefox v106.0
playwright-webkit v16.4
Chrome 107.0
Edge 107.0

Specify Playwright version

BrowserStack detects the browser and browser_version from the capability set in your test script and selects the appropriate Playwright version. If the browser_version is not specified, the Playwright version used will be the same as the Playwright client version. If you have a use case where you need to set the Playwright version explicitly, only then consider using the browserstack.playwrightversion capability in your test script.

Playwright Version Selection Workflow

  1. If the browser_version capability is set, the Playwright version that supports this browser is selected.
  2. If the value set in the browser_version capability is supported by multiple Playwright versions, BrowserStack checks your Playwright client version and sets the Playwright version accordingly.
  3. If the browser_version is not set and the Playwright client version is detected, the Playwright version used will be the same as the client version.
  4. If both the browser_version and the Playwright client version are not detected, either the version number passed in the browserstack.playwrightversion capability is used, if set, or the latest Playwright version is used.

If you must set the Playwright version explicitly, set the browserstack.playwrightVersion key to the required version in your test script.

Capability Description Possible values
browserstack.playwrightVersion Set the required Playwright version. 1.latest to run tests on the latest version.

To use older versions, use 1.latest-1, 1.latest-2, and so on.

You can also explicitly set the version to 1.41.

Need some help?

If you have a use case where you need to use a Playwright version other than the ones we support, please reach out to our Support team.

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

Is this page helping you?

Yes
No

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!

Talk to an Expert
Download Copy