feature: add stealth mode and launch args/init scripts #57
Reference in New Issue
Block a user
Delete Branch "feature/stealth-mode"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Stealth *bool,LaunchArgs []string, andInitScripts []stringfields toBrowserOptionsNewBrowserandNewInteractiveBrowser)navigator.webdriveroverride, plugin/mimeType spoofing,window.chromestub,outerWidth/outerHeightfix, and Chromium-specific--disable-blink-features=AutomationControlledLaunchArgsandInitScriptsallow consumers to add custom browser flags and pre-page JavaScript--no-stealthadded to disable stealth mode from command-line toolsmergeOptionsbehavior with the new fieldsCloses #56
Test plan
go build ./...passesgo test ./...passes (all existing + new stealth tests)