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

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

Built distribution (wheel)

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

Total release size: 67.5 kB

Release files / playwrightcapture-1.43.3.tar.gz

Download URL playwrightcapture-1.43.3.tar.gz
Size 32.9 kB
Tags Source
SHA-256 checksum
How to use checksums
88c4f1f2dd248db1638b6e4f9d493a5713a1f67a39633cca67cd83c79de6e531
BLAKE2b-256 checksum
How to use checksums
b82959d9fccf1bddd0784c6a0834b3e2eb08c03ca8812402f030112c24b08efb
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 3, 2026.

Transparency log

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

Download URL playwrightcapture-1.43.3-py3-none-any.whl
Size 34.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0e8dd9d1d114286ce86bd37c77f67a4835d5c4f1f37a5785ff6aeb68edb7c18
BLAKE2b-256 checksum
How to use checksums
e4beefe3968d0a4ebfc60b709ba6ee9245871659fb563cdc78f155f2a4d4640e
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 3, 2026.

Transparency log

Security for PlaywrightCapture 1.43.3

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.3.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 3, 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.3 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