Supported browser and OS versions for Puppeteer tests
Learn about the browsers and OS versions that you can run Puppeteer tests on and how to specify them.
Before triggering any Puppeteer test, you have to specify the OS and browser that you want to use for the test. This document would list all the supported browser and OS versions that you can use for your cross-browser Puppeteer tests and also what values to specify in the capability to achieve that.
The os
, os_version
, browser
and browser_version
need to be defined in a key
: value
JSON structure as shown in the example caps
variable below:
const caps = {
'browser': 'chrome',
'browser_version': 'latest',
'os': 'os x',
'os_version': 'big sur'
};
The following os
, os_version
, browser
and browser_version
values are supported for your Puppeteer tests on BrowserStack.
Capability | Description | Possible values |
---|---|---|
os |
Operating system you want to run the tests on |
Windows and OS X
|
os_version |
Operating system version where you want to run your test on |
Windows: 10 , 11 OS X: Mojave , Catalina , Big Sur and Monterey
|
browser |
Browser you want to run the tests on |
chrome , firefox and edge
|
browser_version |
A list of supported browser versions you want to run the tests on |
Chrome: 72 and above Firefox: 86 and above Edge: 80 and above You can also use latest , latest-beta , latest-1 , latest-2 , etc., to test on the latest n versions of the specified browser. |
82
as the version while testing on
Chrome and Edge as both Google Chrome and Microsoft Edge teams cancelled the
v82 releases.
You can see the usage of these capabilities in this sample script which runs a test across multiple cross-browser combinations in parallel. Read more to learn how to run cross-browser Puppeteer tests in parallel.
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!