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.4

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.4
File Size Uploaded Provenance Actions
playwrightcapture-1.43.4.tar.gz 32.9 kB With provenance Details for playwrightcapture-1.43.4.tar.gz

Built distribution (wheel)

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

Total release size: 67.5 kB

Release files / playwrightcapture-1.43.4.tar.gz

Download URL playwrightcapture-1.43.4.tar.gz
Size 32.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b1fbb4c12b0f6c187ba1bfe1b859ed5aeba019eb195f256dff5cbd2ccd163a76
BLAKE2b-256 checksum
How to use checksums
8c13e5aefec8ee23d86497717b2095228dc90f3cfb2b50c4f831f06ae1171315
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 Nov 4, 2026.

Transparency log

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

Download URL playwrightcapture-1.43.4-py3-none-any.whl
Size 34.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
758abfd44c781cd8f9b640e09f487a00409dc3340bec1f032ae8f6b4b5908a64
BLAKE2b-256 checksum
How to use checksums
c531bca34911d326e3b983e61015292eed510db0bbfab0d2f50b5ea0ff655d62
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 Nov 4, 2026.

Transparency log

Security for PlaywrightCapture 1.43.4

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.4.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 Nov 4, 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.4 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