Playwright

Playwright is an open-source automation framework for end-to-end web testing. When you integrate Playwright with Perfecto, you can run your tests across multiple desktop and mobile browsers in your Perfecto cloud.

Perfecto supports Playwright's experimental Android automation for mobile web testing. You can run tests on Chrome for Android and Android WebView. To learn more, see Playwright's Android documentation.

Supported operating systems and browsers

Perfecto supports Playwrights tests for:

  • Desktop web: 

    • Windows 10 or 11: Google Chrome and Microsoft Edge

    • macOS:

      • Google Chrome (the latest 10 versions)

      • Microsoft Edge (the latest 10 versions)

      • Firefox (version automatically selected by the Playwright client you run)

      • WebKit (version automatically selected by the Playwright client you run)

  • Mobile web (Android): Chrome for Android and Android WebView on Android devices

For a complete list of supported browsers and platforms, see Supported platforms.

Prerequisites

Make sure the following software tools are properly installed and set up on your local machine:

  • Playwright

    Perfecto supports the latest Playwright version (currently version 1.58.0) and the previous nine versions. For example, if the latest version is 1.56.0, versions 1.56.0 through 1.47.0 are supported. Support for new versions is announced in the Release notes. This ensures compatibility with recent updates while maintaining support for slightly older versions. Browser versions supported on macOS follow the same compatibility window as the Playwright client you use.

  • Maven

    Required if you implement Playwright tests in Java for desktop web testing.

  • Node.js

    Required if you implement Playwright tests in JavaScript or TypeScript.

    Android support is available only for JavaScript and TypeScript.

What's next

Set up Playwright with Perfecto