Playwright

Playwright, an open-source automation library developed by Microsoft, enables end-to-end testing for modern web applications. By integrating Playwright with Perfecto, you can reliably run your Playwright tests against multiple web browsers in your Perfecto cloud.

Perfecto also supports running Playwright scripts against Android devices for mobile web testing. This capability uses Playwright's experimental Android automation, which currently supports Chrome for Android and Android WebView. For more information, see Playwright's Android documentation.

Supported operating systems and browsers

Perfecto support Playwrights tests for:

  • Desktop web: Google Chrome and Microsoft Edge on Microsoft Windows 10 or 11, and WebKit on macOS

  • 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, as well as the previous nine versions. For example, if the latest version is 1.50.0, we support versions 1.50.0 through 1.41.0. This ensures compatibility with recent updates while maintaining support for slightly older versions.

  • 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