File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -179,10 +179,9 @@ export async function launch(options: McpLaunchOptions): Promise<Browser> {
179179 ...( options . chromeArgs ?? [ ] ) ,
180180 '--hide-crash-restore-bubble' ,
181181 ] ;
182- const ignoreDefaultArgs : LaunchOptions [ 'ignoreDefaultArgs' ] =
183- options . stealth
184- ? [ ...( options . ignoreDefaultChromeArgs ?? [ ] ) , '--enable-automation' ]
185- : options . ignoreDefaultChromeArgs ?? false ;
182+ const ignoreDefaultArgs : LaunchOptions [ 'ignoreDefaultArgs' ] = options . stealth
183+ ? [ ...( options . ignoreDefaultChromeArgs ?? [ ] ) , '--enable-automation' ]
184+ : ( options . ignoreDefaultChromeArgs ?? false ) ;
186185
187186 // Add stealth-enhancing arguments if stealth mode is enabled
188187 if ( options . stealth ) {
Original file line number Diff line number Diff line change 1+ test file content
You can’t perform that action at this time.
0 commit comments