Skip to content

Commit

Permalink
Add the headless switch back, accidentally removed when debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
danielwestendorf committed Jan 15, 2020
1 parent 5add888 commit 51e2a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const webServer = new Server({
console.log('Starting Google Chrome')

ChromeLauncher.launch({
chromeFlags: ['--disable-gpu', '--disable-dev-shm-usage', '--no-sandbox', '--hide-scrollbars'],
chromeFlags: ['--headless', '--disable-gpu', '--disable-dev-shm-usage', '--no-sandbox', '--hide-scrollbars'],
port: 9222,
startingUrl: (process.env.STARTING_URL || 'about:blank')
}).then((chrome) => {
Expand Down

0 comments on commit 51e2a39

Please sign in to comment.