Playwright enables reliable end-to-end testing for modern web apps.
Project description
Scenographer
WebExtension for Playwright for Python
API Reference
from playwright.async_api import async_playwright
from scenographer.async_api import (
CHROME_STORE,
DEFAULT_STORAGE,
use_feed,
use_web_extensions
)
# Installing AdBlock
# https://chrome.google.com/webstore/detail/gighmmpiobklfepjocnamgkkbiglidom
await use_feed(DEFAULT_STORAGE, CHROME_STORE).install_extension("gighmmpiobklfepjocnamgkkbiglidom")
async with async_playwright() as playwright:
args = use_web_extensions()
chromium = playwright.chromium
browser = await chromium.launch_persistent_context(
DEFAULT_STORAGE.get_base_directory(),
args=args,
headless=False
)
page = browser.pages[0]
await page.goto("chrome://extensions")
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file playwright_scenographer-1.0.1.tar.gz.
File metadata
- Download URL: playwright_scenographer-1.0.1.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ee2c634a88d1df82f0be95cb00ad5a7e85ea6b1c35c47bcdf7b5df8183166d0
|
|
| MD5 |
4ea80026eb3981a3816483da6ad7767f
|
|
| BLAKE2b-256 |
b78716ca4460a202263e2526b6f1a246838fb39b717148e047446d36a5f238ce
|
Provenance
The following attestation bundles were made for playwright_scenographer-1.0.1.tar.gz:
Publisher:
release.yml on scenographer/scenographer-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
playwright_scenographer-1.0.1.tar.gz -
Subject digest:
0ee2c634a88d1df82f0be95cb00ad5a7e85ea6b1c35c47bcdf7b5df8183166d0 - Sigstore transparency entry: 601351039
- Sigstore integration time:
-
Permalink:
scenographer/scenographer-python@7d5744f8fb698a791335ab7f76f85bb26f35b79a -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/scenographer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7d5744f8fb698a791335ab7f76f85bb26f35b79a -
Trigger Event:
push
-
Statement type:
File details
Details for the file playwright_scenographer-1.0.1-py3-none-any.whl.
File metadata
- Download URL: playwright_scenographer-1.0.1-py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c804ba492ed5a9c9c60b8113b31b35693a20097be712f037bc6b45e156aa7847
|
|
| MD5 |
b42d38822606f1f69fadb837979a58be
|
|
| BLAKE2b-256 |
1f3f0c9a1972b512f98078be11fe72451c96bb3f443fd91547d7a183f27b56b1
|
Provenance
The following attestation bundles were made for playwright_scenographer-1.0.1-py3-none-any.whl:
Publisher:
release.yml on scenographer/scenographer-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
playwright_scenographer-1.0.1-py3-none-any.whl -
Subject digest:
c804ba492ed5a9c9c60b8113b31b35693a20097be712f037bc6b45e156aa7847 - Sigstore transparency entry: 601351044
- Sigstore integration time:
-
Permalink:
scenographer/scenographer-python@7d5744f8fb698a791335ab7f76f85bb26f35b79a -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/scenographer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7d5744f8fb698a791335ab7f76f85bb26f35b79a -
Trigger Event:
push
-
Statement type: