playwright-pytest icon indicating copy to clipboard operation
playwright-pytest copied to clipboard

Pytest plugin to write end-to-end browser tests with Playwright.

Pytest plugin for Playwright PyPI

Write end-to-end tests for your web apps with Playwright and pytest.

  • Support for all modern browsers including Chromium, WebKit and Firefox.
  • Support for headless and headed execution.
  • Built-in fixtures that provide browser primitives to test functions.

Documentation

See on playwright.dev for examples and more detailed information.