Skip to content

Commit

Permalink
disable headless
Browse files Browse the repository at this point in the history
  • Loading branch information
pablomatiasgomez committed Nov 6, 2023
1 parent 61db8a7 commit 3c0a283
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/connector/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ class Browser {
this.userAgents = new UserAgents();

this.browserOptions = {
headless: !DEBUG && "new", // Use "new" to test ou the new chrome headless browser
// disabled "new" as it was causing timeout errors. like:
// ProtocolError: Network.setUserAgentOverride timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.
// headless: !DEBUG && "new", // Use "new" to test out the new chrome headless browser
headless: !DEBUG,
devtools: DEBUG,
args: [
'--no-sandbox',
Expand Down

0 comments on commit 3c0a283

Please sign in to comment.