Skip to main content

build_args

Function build_args 

Source
pub fn build_args(stealth: bool) -> Vec<String>
Expand description

Builds the Chromium launch argument list, optionally including stealth flags.

When stealth is true, the STEALTH_ARGS are appended after the DEFAULT_ARGS. The result should be further processed by filter_harmful_args before being passed to Playwright.