id | title | sidebar_label |
---|---|---|
playwright |
Playwright on Sauce Labs |
Using Playwright |
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import useBaseUrl from '@docusaurus/useBaseUrl';
Playwright is a testing framework that you can use to test your web apps remotely on Sauce Labs Cloud using the saucectl
CLI.
JavaScript and TypeScript are supported out of the box. Cucumber.js is not directly supported by Playwright. However, Playwright can be used as the backing automation framework. See this setup guide for more information.
Supported OS:
- Windows 10 / Windows 11
- macOS 10.15+
- Linux
Sauce Labs supports the following test configurations for Playwright:
Playwright Version | Node.js Version | Supported Platforms | Supported Browsers | End of Life |
---|---|---|---|---|
1.46.1 | 20 | macOS: 12, 13 | Chromium, Chrome, Firefox, Webkit | August 28, 2025 |
Windows: 10, 11 | ||||
1.45.2 | 20 | macOS: 12, 13 | Chromium, Chrome, Firefox, Webkit | July 23, 2025 |
Windows: 10, 11 | ||||
1.45.0 | 20 | macOS: 12, 13 | Chromium, Chrome, Firefox, Webkit | June 26, 2025 |
Windows: 10, 11 | ||||
1.44.0 | 20 | macOS: 12, 13 | Chromium, Chrome, Firefox, Webkit | May 28, 2025 |
Windows: 10, 11 | ||||
1.43.1 | 20 | macOS: 11.00, 12, 13 | Chromium, Chrome, Firefox, Webkit | April 15, 2025 |
Windows: 10, 11 | ||||
1.41.2 | 20 | macOS: 11.00, 12, 13 | Chromium, Chrome, Firefox, Webkit | February 28, 2025 |
Windows: 10, 11 | ||||
1.41.0 | 20 | macOS: 11.00, 12, 13 | Chromium, Chrome, Firefox, Webkit | January 22, 2025 |
Windows: 10, 11 | ||||
1.40.1 | 20 | macOS: 11.00, 12, 13 | Chromium, Chrome, Firefox, Webkit | December 6, 2024 |
Windows: 10, 11 | ||||
1.39.0 | 20 | macOS: 11.00, 12, 13 | Chromium, Chrome, Firefox, Webkit | November 7, 2024 |
Windows: 10, 11 | ||||
1.38.1 | 18 | macOS: 11.00, 12, 13 | Chromium, Chrome, Firefox, Webkit | September 28, 2024 |
Windows: 10, 11 | ||||
1.37.1 | 18 | macOS: 11.00, 12, 13 | Chromium, Chrome, Firefox, Webkit | August 31, 2024 |
Windows: 10, 11 |
- Quickstart: Use our demo repository to quickly set up and run a sample Playwright project and test to see the results.
- Run your own tests: Customize
saucectl
to run your existing tests just by modifying theconfig.yml
file for your project. - Incorporate
saucectl
in your pipeline: Playwright on Sauce supports CI integrations with Circle CI, GitLab, Jenkins, and GitHub Actions. - Run your tests in Orchestrate: Use
saucectl
to run tests with a containerized test runner.
If you prefer to stay in Playwright, try the Playwright Sauce Labs Reporter. Connect to your Sauce Labs account from within your Playwright project to configure and run your tests directly from Playwright.
Please check the Limitations Page.