Skip to content

Commit

Permalink
switch chromedriver to use chrome-headless (#739)
Browse files Browse the repository at this point in the history
  • Loading branch information
huan committed Aug 17, 2017
1 parent ac4bca7 commit 4e3601f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/puppet-web/browser-driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ export class BrowserDriver {

const options = {
args: [
'--disable-gpu',
'--headless', // https://developers.google.com/web/updates/2017/04/headless-chrome
'--homepage=about:blank',
'--no-sandbox',
], // issue #26 for run inside docker
Expand Down

0 comments on commit 4e3601f

Please sign in to comment.