pytest-playwright 0.7.2


pip install pytest-playwright

  Latest version

Released: Nov 24, 2025

Project Links

Meta
Author: Microsoft
Requires Python: >=3.10

Classifiers

Programming Language
  • Python :: 3
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13

License
  • OSI Approved :: Apache Software License

Operating System
  • OS Independent

Framework
  • Pytest

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.

Note: If you are looking for an asyncio version of this plugin, check out pytest-playwright-asyncio.

Documentation

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

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras: None
Dependencies:
playwright (>=1.18)
pytest (<10.0.0,>=6.2.4)
pytest-base-url (<3.0.0,>=1.0.0)
python-slugify (<9.0.0,>=6.0.0)