Skip to main content

A pytest plugin for playwright python

Project description

version codecov docs

pytest-playwright-enhanced

pytest-playwright-enhanced is a batteries included pytest plugin for the playwright python bindings that offers extended functionality with a focus on removing boilerplate code for projects that wish to test modern web applications and APIs. pytest-playwright-enhanced plans to offer the following:

  • Automatic, browser management and installation if required.
  • Improved, human readable APIs that built on top of playwrights API.
  • Improved artifacting and debuggability.
  • Asynchronous support.
  • Custom hooks to allow you to plugin and modify behaviour at runtime.
  • Much More

[!CAUTION] pytest-playwright-enhanced is in the alpha stage.


Quick Start

Quickly get running by doing the following:

  • pip install pytest-playwright-enhanced
  • playwright install

Fixtures


playwright - At present this returns the sync Playwright instance.


Hooks

pytest_playwright_acquire_binaries - Hook in and customise binary acquisition at runtime.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest_playwright_enhanced-0.1.1.tar.gz (9.8 kB view hashes)

Uploaded Source

Built Distribution

pytest_playwright_enhanced-0.1.1-py3-none-any.whl (11.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page