$npx skillfedfor your agent

pytest-playwright-asyncio

A pytest wrapper with async fixtures for Playwright to automate web browsers

Worth itPyPI TestingReleased Aug 2026185.6K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytest_playwright_asyncio-0.9.0-py3-none-any.whl
v0.9.0 · released 2026-08-10 · Python >=3.10 · 5 runtime deps: pytest, playwright, pytest-base-url, python-slugify, pytest-asyncio

Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive Apache 2.0 license. It directly solves the problem of writing async browser tests with pytest if you're already using Playwright. Install it if you need end-to-end testing for web applications.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Playwright browser binaries must be installed separately (typically via `playwright install` after installing the playwright package).
  • Low friction install with a wheel distribution.

License · maintenance · safety

permissive license (permissive) — Apache License 2.0 is permissive; you can use, modify, and distribute this package freely in commercial and private projects provided you include license attribution and note any changes you make.

last release 2026-08-10 (4 days) · last repo commit 2026-08-11 · 556 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 185,646 downloads/mo, #10,006 on PyPI

Verify before relying

pip install pytest-playwright-asyncio

# In your test file:
import pytest
from pytest_playwright_asyncio import browser

@pytest.mark.asyncio
async def test_homepage(browser):
    await browser.goto('https://example.com')
    assert await browser.title() == 'Example Domain'
  • Whether the package provides fixtures for specific browser contexts or just the base browser object
  • Support for parallel test execution and any concurrency limitations
  • Whether base_url fixture from pytest-base-url is automatically integrated or requires manual setup
Same gist for agents: .md · .json

What it is and what it does

pytest-playwright-asyncio bridges Playwright's browser automation library with pytest's testing framework, enabling you to write async/await-style end-to-end tests. It provides built-in pytest fixtures that inject browser primitives directly into your test functions, eliminating boilerplate setup code. The plugin supports all modern browsers (Chromium, WebKit, Firefox) in both headless and headed modes.

You install it alongside pytest, playwright, pytest-asyncio, and pytest-base-url. Once installed, your test functions can use async/await syntax to control browsers, navigate pages, and assert on page state. The plugin handles fixture lifecycle management, so you focus on writing test logic rather than browser initialization and teardown.

Use it for

  • Test user workflows across multiple browsers to catch rendering or behavior differences before production
  • Verify form submission, navigation, and dynamic content loading in single-page applications
  • Run headless browser tests in CI/CD pipelines to validate web app functionality on every commit
  • Test responsive design by running the same test suite against different viewport sizes
  • Validate third-party integrations and API interactions triggered by user actions in the browser

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive Apache 2.0 license. It directly solves the problem of writing async browser tests with pytest if you're already using Playwright. Install it if you need end-to-end testing for web applications.

Install

pytest-playwright-asyncio on PyPI

Before you install

Low friction install with a wheel distribution. Actively maintained as of 2026-08-11 with recent release activity. Requires Python 3.10 or later and depends on pytest, playwright, and pytest-asyncio.

Requires Python 3.10 or later. Playwright browser binaries must be installed separately (typically via `playwright install` after installing the playwright package).

License in practice

Apache License 2.0 is permissive; you can use, modify, and distribute this package freely in commercial and private projects provided you include license attribution and note any changes you make.

Quickstart

pip install pytest-playwright-asyncio

# In your test file:
import pytest
from pytest_playwright_asyncio import browser

@pytest.mark.asyncio
async def test_homepage(browser):
    await browser.goto('https://example.com')
    assert await browser.title() == 'Example Domain'

Verify before relying

  • Whether the package provides fixtures for specific browser contexts or just the base browser object
  • Support for parallel test execution and any concurrency limitations
  • Whether base_url fixture from pytest-base-url is automatically integrated or requires manual setup

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
pytestplaywrightpytest-base-urlpython-slugifypytest-asyncio
MaintenanceActively maintained 4 days since the last release
Last repo commit
First released
Downloads185,646 / month, #10,006 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Framework :: PytestLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13

Evidence: pytest_playwright_asyncio-0.9.0-py3-none-any.whl

Tags

Capabilities
pytest playwright async fixturesend-to-end web testingbrowser automation testingplaywright pytest pluginasync web app testingcross-browser e2e testsheadless browser testing
Topics
browser-automationasync-testinge2e-testing

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “pytest playwright async fixtures”

  • pytest-playwright-asyncioA pytest plugin that integrates Playwright browser automation with…
  • pytest-playwrightA pytest plugin that integrates Playwright browser automation into…
  • pytest-aioA pytest plugin that automatically runs async test functions and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.

Install it if you write tests for any asyncio-based code.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.

Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also pyppeteer · pytest-playwright · playwright · wptserve · scrapy-playwright · testmuai-playwright-bindings · stagehand · install-playwright · eyes-common · robocorp-browser