Skip to content

Commit

Permalink
fix: disable search engine dialog in chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
pozil committed Aug 28, 2024
1 parent 67a59cd commit e1839f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wdio.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ exports.config = {
maxInstances: 1,
browserName: 'chrome',
'goog:chromeOptions': {
args: ['--disable-search-engine-choice-screen']
// to run chrome headless the following flags are required
// (see https://developers.google.com/web/updates/2017/04/headless-chrome)
//args: ['--headless', '--disable-gpu', '--window-size=1920,1080']
//args: ['--headless', '--disable-gpu', '--window-size=1920,1080', '--disable-search-engine-choice-screen']
}
}
],
Expand Down

0 comments on commit e1839f3

Please sign in to comment.