human_requests.browsers.families.playwright_family

Classes

PlaywrightFamily

Standard Playwright (with stealth wrapper on demand).

Module Contents

class PlaywrightFamily[source]

Standard Playwright (with stealth wrapper on demand). Restarts only what has changed: PW engine when stealth changes, browser when engine/headless/launch_opts change.

property name: human_requests.browsers.families.base.Family[source]

Family name.

property browser: playwright.async_api.Browser | None[source]

Current Browser or None if not started.

async start(
cfg: DesiredConfig,
) None[source]

Idempotent launch/restart according to cfg.

async close() None[source]

Close all family resources (browser + runtime).