human_requests.browsers.families.patchright_family

Classes

PatchrightFamily

Patchright — drop-in replacement for Playwright, supports only Chromium.

Module Contents

class PatchrightFamily[source]

Patchright — drop-in replacement for Playwright, supports only Chromium. Stealth is NOT needed/allowed (it is already built-in).

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