Select browsers and devices
Learn about the capabilities that you can use to run tests on a particular browser / OS.
Following are a list of capabilities which can you can use to specify which browser / OS / device combination you want to run your test on:
| Capability | Description | Expected values |
|---|---|---|
browserName |
Browser you want to test on |
Chrome, Firefox, IE, Safari, Edge, Opera, chromefortesting. chromefortesting is case-insensitive and works on desktop only. See the note below for supported versions and platforms. |
browserVersion |
Browser version you want to test | By default, we run tests on latest stable version of specified browser. View the list of supported browser versions. You can also use latest-beta, latest, latest - 1, latest - 2, etc., to test on the current beta release or latest n versions of the specified browser as you specify. |
os |
OS you want to test on |
Windows, OS X
|
osVersion |
Version of the OS to test on |
Windows: XP, 7, 8, 8.1, 10 and 11 OS X: Snow Leopard, Lion, Mountain Lion, Mavericks, Yosemite, El Capitan, Sierra, High Sierra, Mojave, Catalina, Big Sur, Monterey, Ventura, Sonoma, Sequoia, Tahoe and Golden Gate
|
deviceName |
Mobile or tablet to test on | The device you want to test on. View the list of devices we support. |
Chrome for Testing is a Chrome distribution built for automated testing. Set browserName to chromefortesting to use it. The BrowserStack dashboard and REST API refer to the same browser as chromeForTesting.
Set browserVersion the same way you would for Chrome, for example latest or a specific version number. Check the BrowserStack dashboard or REST API for the list of currently supported Chrome for Testing versions.
Chrome for Testing runs on desktop only, on Windows 10 and later, and macOS Monterey and later. It isnβt available on Cypress or Puppeteer. A request for Chrome for Testing on a real mobile device doesnβt return an error. It silently falls back to regular mobile Chrome, so verify your platform before relying on it.
Example: Chrome for Testing capability (browserstack.yml)
platforms:
- os: Windows
osVersion: "10"
browserName: chromefortesting
browserVersion: "149.0"
You can use these capabilities as shown in the following example:
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!