Playwright Capture
Simple replacement for splash using playwright.
Install
pip install playwrightcapture
Usage
A very basic example:
from playwrightcapture import Capture
async with Capture() as capture:
await capture.initialize_context()
entries = await capture.capture_page(url, max_depth_capture_time=90)
Entries is a dictionaries that contains (if all goes well) the HAR, the screenshot, all the cookies of the session, the URL as it is in the browser at the end of the capture, and the full HTML page as rendered.
reCAPTCHA bypass
No blackmagic, it is just a reimplementation of a well known technique as implemented there, and there.
This modules will try to bypass reCAPTCHA protected websites if you install it this way:
pip install playwrightcapture[recaptcha]
This will install requests, pydub and SpeechRecognition. In order to work, pydub
requires ffmpeg or libav, look at the install guide
for more details.
SpeechRecognition uses the Google Speech Recognition API to turn the audio file into text (I hope you appreciate the irony).
Release files for PlaywrightCapture 1.41.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| playwrightcapture-1.41.3.tar.gz | 32.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| playwrightcapture-1.41.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 66.6 kB
Release files / playwrightcapture-1.41.3.tar.gz
| Download URL | playwrightcapture-1.41.3.tar.gz |
|---|---|
| Size | 32.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40011cb2bc6470c095ab3667df02da99afa131fc4645c20f1812274245a2e90c
|
|
BLAKE2b-256 checksum How to use checksums |
99a94006ae0e8531f5ab569865add1c47932bb6250f78d03071b8a42b2be7297
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logRelease files / playwrightcapture-1.41.3-py3-none-any.whl
| Download URL | playwrightcapture-1.41.3-py3-none-any.whl |
|---|---|
| Size | 34.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b338da876cffe1e884f26302e51042e42df60ab8869a9a744c1c9a351f8e844d
|
|
BLAKE2b-256 checksum How to use checksums |
47ac19d6b6063db27b1f502c3630dd8dd8a9356984bd4bb81e04cff63710b4a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency log