Registry / testing / rebrowser-playwright

rebrowser-playwright

JSON →
library1.52.0pypypiunverified

A high-level API to automate web browsers, based on Playwright but designed for undetected browser automation in cloud and anti-bot environments. Version 1.52.0, release cadence ~monthly.

pip install rebrowser-playwright
INSTALL
IMPORT
SIG · REBROWSER-PLAYWRIG
R
rebrowser-playwright
testingpythonv1.52.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

sync_playwright
from rebrowser_playwright import sync_playwright
from rebrowser_playwright import sync_playwright

Launch Chromium, navigate to a page, and print its title.

from rebrowser_playwright import sync_playwright with sync_playwright() as p: browser = p.chromium.launch(headless=True) page = browser.new_page() page.goto('https://example.com') print(page.title()) browser.close()
Debug
Known issues
breakingRebrowser 1.52.0 requires Playwright 1.52.x. Using mismatched versions causes cryptic errors.
fix
Run 'pip install rebrowser-playwright==1.52.0 playwright==1.52.0' and reinstall browsers: 'python -m playwright install chromium'.
affects: >=1.52.0
gotchaRebrowser patches browser fingerprinting; launching with headless=False may leak automation signals. Use default headless=True for stealth.
fix
Launch with headless=True unless you need visible debugging. Or use rebrowser's stealth context.
affects: all
deprecatedrebrowser_playwright.sync_api module is deprecated since 1.50.0. Use top-level sync_playwright function instead.
fix
Replace 'from rebrowser_playwright.sync_api import sync_playwright' with 'from rebrowser_playwright import sync_playwright'.
affects: >=1.50.0
gotchaPersistent context (browser.new_context) not fully patched for all anti-bot fingerprints. Use rebrowser's built-in stealth by default.
fix
Prefer 'browser.new_page()' over 'browser.new_context().new_page()' unless you need separate storage.
affects: all
Upgrade
Version history
1.52.0latest on PyPI · released May 9, 2025
Audit
Dependencies
playwrightrequiredUnderlying automation library
Agent activity
6 hits · last 30 days
node
6
Resources

No resource links recorded.

rebrowser-playwright — pip install rebrowser-playwright · libregistry