A pytest plugin for playwright python
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pytest_playwright_enhanced-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84dd0e6672e1d663f90b46662a2247cb1b3d9da9078e55cc80eecdcc9777f241 |
|
MD5 | 444859bc485a89b02462f62a05e56f70 |
|
BLAKE2b-256 | 068529a5265f47a550a4b139ee7f92614290afdb698ae0fe8f577aa1b5b8ff7e |
Close
Hashes for pytest_playwright_enhanced-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26588965311a16b2b9d8363f038f4e1bb0e41048717891b66244f7412e7d33dd |
|
MD5 | c93332662db0bb516744fe13e5da39ed |
|
BLAKE2b-256 | 3d0925d33ec1d669be86ffdd771f4013ba3ec9650a518a885848bdac6fa3de83 |