fix(cli): pass custom Chrome args to local launches - #2236
Conversation
|
|
This PR is from an external contributor and must be approved by a stagehand team member with write access before CI can run. |
5d163d6 to
10d4f19
Compare
10d4f19 to
a3aef27
Compare
This reverts commit 654a8bf.
|
Retargeted this PR to |
Summary
Fixes #2148
Tests
Summary by cubic
Allow passing custom Chrome/Chromium flags to managed local browse sessions. We use
target.chromeArgswhen provided or readBROWSE_CHROME_ARGSand forward them tolocalBrowserLaunchOptions.args.BROWSE_CHROME_ARGSas JSON array or space-separated string.managed-localonly: prefertarget.chromeArgs; otherwise use the env var.Written for commit a5d96e3. Summary will update on new commits.