{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing"}],"enrichment":{"capability":"A pytest plugin that integrates Playwright browser automation into pytest test functions via built-in fixtures, enabling end-to-end testing across Chromium, WebKit, and Firefox in headless or headed mode.","skillfed_tags":["e2e-testing","browser-automation","pytest-plugin"],"use_cases":["Write end-to-end tests for web applications that verify user workflows across Chromium, Firefox, and WebKit without manual browser setup.","Run headless browser tests in CI/CD pipelines to validate web app functionality on every commit.","Test responsive design and cross-browser compatibility by parameterizing tests to run against multiple browser contexts.","Automate visual regression testing or screenshot capture as part of pytest test suites.","Verify form submissions, navigation, and DOM interactions in web apps using Playwright's page API within pytest test functions."],"what_it_does":"pytest-playwright is a pytest plugin that wraps the Playwright browser automation library, exposing browser primitives as pytest fixtures so you can write end-to-end tests directly in your test functions. Instead of manually instantiating and managing browser contexts, you declare a `page` fixture (or `browser`, `context` fixtures) in your test signature and pytest-playwright handles the setup and teardown. It supports all modern browsers\u2014Chromium, WebKit, and Firefox\u2014and can run tests in headless or headed mode.\n\nThe plugin is maintained by Microsoft (Playwright's creator) and sits at the intersection of pytest's test discovery and fixture system with Playwright's cross-browser automation API. It's designed for teams writing web application tests that need to verify behavior across multiple browsers without writing boilerplate context management code. The package has no known vulnerabilities and is actively developed, with a recent release and steady repository maintenance.","worth_installing":"Yes. This is a well-maintained, actively developed plugin from Microsoft with no known vulnerabilities, low install friction, and a permissive license. It fills a clear need for teams using pytest who want to write end-to-end browser tests without boilerplate. The only gotcha is that Playwright requires browser binaries to be installed separately, but that is a one-time setup step and is well-documented."},"id":"pytest-playwright","links":{"html":"https://skillfed.io/packages/pytest-playwright","md":"https://skillfed.io/packages/pytest-playwright.md","pypi":"https://pypi.org/project/pytest-playwright/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-10","license_spdx":null,"license_treatment":"permissive","name":"pytest-playwright","python_support":"supports_current","summary":"A pytest wrapper with fixtures for Playwright to automate web browsers"},"popularity":{"monthly_downloads":9625460,"position":1516,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.9.0"}
