Troubleshooting
Browser dependencies
Playwright does self-inspection every time it runs to make sure the browsers can be launched successfully. If there are missing dependencies, playwright will print instructions to acquire them.
See also in the Command line tools which has a command to install all necessary dependencies automatically for Ubuntu LTS releases.
Python requirements
Playwright requires Python 3.7 or newer.
System requirements
The browser binaries for Chromium, Firefox and WebKit work across the 3 platforms (Windows, macOS, Linux):
Windows
Works with Windows and Windows Subsystem for Linux (WSL).
macOS
Requires 11 (Big Sur) or above.
Linux
Depending on your Linux distribution, you might need to install additional dependencies to run the browsers.
Only Ubuntu 18.04, 20.04, and 22.04 are officially supported.
See also in the Command line tools which has a command to install all necessary dependencies automatically for Ubuntu LTS releases.