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

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.1
File Size Uploaded Provenance
playwrightcapture-1.43.1.tar.gz 32.6 kB With provenance Details

Built distribution (wheel)

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

Total release size: 66.7 kB

Release files / playwrightcapture-1.43.1.tar.gz

Download URL playwrightcapture-1.43.1.tar.gz
Size 32.6 kB
Tags Source
SHA-256 checksum
How to use checksums
553c53282636518e35b45a059591680dd362d5c74d7982e5decaf0a7dab5d89d
BLAKE2b-256 checksum
How to use checksums
6ad42e800641598ad9840ae0c21e695466a68bc803d9b4b455b0283b034d01be
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 23, 2026.

Transparency log

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

Download URL playwrightcapture-1.43.1-py3-none-any.whl
Size 34.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c435c6a543c708331919503ceff3a01ecf6fb982e33f07831d60c1b72f02720b
BLAKE2b-256 checksum
How to use checksums
ba2c6038d5c8cedfda750c88d15acf9543cb151b443554b7da9f399dc11b8ff3
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 23, 2026.

Transparency log

Security for PlaywrightCapture 1.43.1

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.1.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 23, 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.1 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