Skip to main content

Module browser

Module browser 

Source
Expand description

Browser handle. Holds a backend subprocess plus the discovered CDP WS URL.

Chromium-family backends are spawned directly with an isolated environment and then connected through chromiumoxide. Lightpanda and Camoufox are also raw subprocesses. Callers outside this module only ever read ws_url; the engine-specific keepalive lives in a private enum so each variant can clean up on drop.

Structs§

BrowserHandle
A running browser. Drop cleans up the engine-specific resources: aborting chromiumoxide event loops and terminating backend subprocesses.

Functions§

launch