Skip to content

Commit

Permalink
fix: support ignoreHTTPSErrors launch option
Browse files Browse the repository at this point in the history
  • Loading branch information
creativeprojects authored and gregberge committed Apr 3, 2018
1 parent a16d546 commit ed60439
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class PuppeteerEnvironment extends NodeEnvironment {
}
this.global.browser = await puppeteer.connect({
slowMo: config && config.launch && config.launch.slowMo ? config.launch.slowMo : undefined,
ignoreHTTPSErrors: config && config.launch && config.launch.ignoreHTTPSErrors ? config.launch.ignoreHTTPSErrors : undefined,
browserWSEndpoint: wsEndpoint,
})
this.global.page = await this.global.browser.newPage()
Expand Down

0 comments on commit ed60439

Please sign in to comment.