Skip to main content

Playwright on Sauce Labs

Playwright is a testing framework that you can use to test your web applications either locally in Docker or through Sauce Labs using the saucectl CLI, giving you the flexibility to run your tests in the environment that best suits your organization, while still benefiting from the Sauce Labs vast collection of devices, browser, and operating system combinations and test result data analytics.

Supported Testing Platforms#

Sauce Labs supports the following test configurations for Playwright:

Playwright VersionSupported PlatformsSupported Browsers
1.14.1Windows 10Chromium, Firefox, Webkit
1.12.3Windows 10Chromium, Firefox, Webkit
1.11.1Windows 10Chromium, Firefox, Webkit
1.10.0Windows 10Chromium, Firefox, Webkit
1.7.1Windows 10Chromium, Firefox, Webkit

System Requirements#

You can run saucectl locally via Docker (Installation Requirements or remotely via the Sauce Labs cloud, so system requirements vary depending on your intention. The following reference serves as a general guide:

  • OS: 10.14+ (Mojave, Catalina, or Big Sur)
  • Docker: Desktop

How to Get Started#

  • Quickstart: Use our demo repo 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 the config.yml file for your project.
  • Incorporate saucectl in your pipeline: Playwright on Sauce supports CI integrations with Cirlce CI, GitLab, Jenkins, and GitHub Actions.