Skip to content

Commit

Permalink
Merge pull request #86 from danielwestendorf/fuck-add-headless-back
Browse files Browse the repository at this point in the history
Add the headless switch back, accidentally removed when debugging
  • Loading branch information
danielwestendorf authored Jan 15, 2020
2 parents f0f5131 + 51e2a39 commit 22660ff
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 22660ff

Please sign in to comment.