NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1225 most downloaded on PyPI
A pytest wrapper with fixtures for Playwright to automate web browsers
Last release 1 months ago
10 Aug 2026
Ships fairly regularly
a new release about every 3 months
Most releases are documented
notes for 32 of 39 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
39 releases · first in 2020
One column per quarter.
Adds --playwright-debug=cli : pytest pauses at the start of the first context and prints a python -m playwright cli attach … command so agents (or you
Adds --playwright-debug=cli: pytest pauses at the start of the first context and prints a python -m playwright cli attach … command so agents (or you) can inspect the live browser.
pytest --playwright-debug=cli -s
# ### The test is currently paused at the start
# ### Debugging Instructions
# - Run `python -m playwright cli attach tw-a1b2c3` to attach to this test
python -m playwright cli attach tw-a1b2c3
python -m playwright cli --s=tw-a1b2c3 snapshot
python -m playwright cli --s=tw-a1b2c3 resumeAdds support for expect.soft() soft assertions.
Adds support for expect.soft() soft assertions.
chore(deps): bump django from 4.2.22 to 4.2.24 by Dependabot (@dependabot) [bot] in #292
Full Changelog: v0.7.1...v0.7.2
fix: use png screenshot type after Playwright v1.55.0 alignment by Max Schmitt (@mxschmitt) in #290
Bugfixes:
Full Changelog: v0.7.0...v0.7.1
Allow declaring connect_options fixture to connect to remote browsers.
Allow declaring connect_options fixture to connect to remote browsers.
Bugfixes: devops: publish wheels in #261
Bugfixes:
Nothing published for this version
feat: pytest-playwright-asyncio as separate plugin in #257
Full Changelog: v0.5.2...v0.6.0
chore: add py.typed file in #245
Bugfixes:
Full Changelog: v0.5.1...v0.5.2
fix: catch PermissionError when cleaning the tests results with multiple threads ( #224 ) in #230
fix: improve video naming in https://github.com/microsoft/playwright-pytest/pull/217
Bugfixes:
Full Changelog: https://github.com/microsoft/playwright-pytest/compare/v0.4.4...v0.5.0
fix: use best-effort artifacts folder removal in https://github.com/microsoft/playwright-pytest/pull/191
Bugfixes:
fix: mark.browser_context_args should clear for the next test in https://github.com/microsoft/playwright-pytest/pull/189
Bugfixes:
Full Changelog: https://github.com/microsoft/playwright-pytest/compare/v0.4.2...v0.4.3
Nothing published for this version
Nothing published for this version
Full Page Screenshots by @CGBassPlayer in https://github.com/microsoft/playwright-pytest/pull/148
browser_context_args using a marker by @aklajnert in https://github.com/microsoft/playwright-pytest/pull/146Full Changelog: https://github.com/microsoft/playwright-pytest/compare/v0.3.3...v0.4.0
fix: have correct trace title by @mxschmitt in https://github.com/microsoft/playwright-pytest/pull/157
python-slugify by @jensenbox in https://github.com/microsoft/playwright-pytest/pull/160Full Changelog: https://github.com/microsoft/playwright-pytest/compare/v0.3.2...v0.3.3
fix: respect manual base_url fixture override in https://github.com/microsoft/playwright-pytest/pull/154
[BUG] Implement best-effort support when dealing with busy folders. https://github.com/microsoft/playwright-python/issues/1781
chore: enable sources for trace collection by @mxschmitt in https://github.com/microsoft/playwright-pytest/pull/104
Full Changelog: https://github.com/microsoft/playwright-pytest/compare/v0.2.3...v0.3.0
fix: Ignore FileNotFoundError when cleaning up output_dir by @shadowwolf899 in https://github.com/microsoft/playwright-pytest/pull/97
Full Changelog: https://github.com/microsoft/playwright-pytest/compare/v0.2.2...v0.2.3
chore: change browser_context_args back to session fixture by @mxschmitt in https://github.com/microsoft/playwright-pytest/pull/85 (fixes https://gith
Full Changelog: https://github.com/microsoft/playwright-pytest/compare/v0.2.1...v0.2.2
fix: tempfile handling when recording videos by @mxschmitt in https://github.com/microsoft/playwright-pytest/pull/83 (Fixes #81)
Full Changelog: https://github.com/microsoft/playwright-pytest/compare/v0.2.0...v0.2.1
feat: add more testing goodies (screenshot, video, tracing)
session to functionfix: make it compatible with unittest.TestCase and pytest-bdd
Changes:
unittest.TestCase and pytest-bdd (#56)Enhanced support for usage with launch_persistent_context
Enhanced support for usage with launch_persistent_context (#51)
chore: replace headful with headed option
Supports now Playwright >= 1.9.0
Supports now Playwright >= 1.9.0
Update to use Playwright 1.8.0a1
Update to use Playwright 1.8.0a1
fix(screenshot): handle if there is no Page fixture available
Bugfixes:
fix: don't paramaterize test functions that don't use browser fixtures
Bugfixes:
Chore:
docs(readme): add config for pytest.ini
Bugfixes:
Documentation:
Chore:
fix(django): usage with class based tests
Bugfixes:
Docs:
chore(typo): fix browse to browser
BREAKING:
Documentation:
feat: migrated project over to Microsoft namespace
Changes:
BREAKING:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →