Skip to main content

Playwright Capture

Simple replacement for splash using playwright.

Install

pip install playwrightcapture

Usage

A very basic example:

from playwrightcapture import Capture
from lookyloo_models import CaptureSettings

capture_settings = CaptureSettings(url='google.com')

async with Capture(capture_settings=capture_settings) as capture:
    await capture.initialize_context()
    entries = await capture.capture_page(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).

Metadata

Release files for PlaywrightCapture 1.43.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PlaywrightCapture 1.43.0
File Size Uploaded Provenance
playwrightcapture-1.43.0.tar.gz 32.6 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for PlaywrightCapture 1.43.0
File Interpreter ABI Platform
playwrightcapture-1.43.0-py3-none-any.whl Python 3 none any Details

Total release size: 66.7 kB

Release files / playwrightcapture-1.43.0.tar.gz

Download URL playwrightcapture-1.43.0.tar.gz
Size 32.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4c66c04b506fe82f02eee76909b8cdebe9ebc6af458f13a34aacd04575a07979
BLAKE2b-256 checksum
How to use checksums
ec0927462327fcc094af65bebec0d07cc2a5817a571e22e9564a24a2edce9361
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 22, 2026.

Transparency log

Release files / playwrightcapture-1.43.0-py3-none-any.whl

Download URL playwrightcapture-1.43.0-py3-none-any.whl
Size 34.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d8a2027e2a2694f065f78b1cfef14e8b5c16290f681f3b904029cddc579a33b6
BLAKE2b-256 checksum
How to use checksums
b7f5833ac2be6a579f88c3a43a6c30332811ecf03d062051f6cbfc0a76c7aa76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 22, 2026.

Transparency log

Security for PlaywrightCapture 1.43.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for playwrightcapture-1.43.0.tar.gz

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 Oct 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.43.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page