Expand description
Low-level engine helpers for launching the Playwright driver and building Chromium launch options.
This module sits between the high-level session types in crate::fetcher and the
raw Playwright Rust bindings. It has two public functions:
-
build_launch_options– assembles the full set of Chromium CLI flags, proxy settings, executable path, and channel from aBrowserConfig, merging in stealth flags when requested and filtering out any harmful automation-revealing arguments. -
launch_playwright– starts the Playwright driver process. This must be called once before any browser can be launched or connected to.
You typically do not call these functions directly; [DynamicSession::start] and
[StealthySession::start] use them internally.
Functions§
- build_
launch_ options - Build Playwright launch options from the given browser configuration and stealth flags.
- launch_
playwright - Launch and return a new Playwright driver instance.