Skip to content

Commit

Permalink
Added --disable-search-engine-choice-screen argument (#1111)
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbaljet authored Aug 1, 2024
1 parent 664503d commit 284f7cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions stubs/DuskTestCase.stub
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ abstract class DuskTestCase extends BaseTestCase
{
$options = (new ChromeOptions)->addArguments(collect([
$this->shouldStartMaximized() ? '--start-maximized' : '--window-size=1920,1080',
'--disable-search-engine-choice-screen',
])->unless($this->hasHeadlessDisabled(), function (Collection $items) {
return $items->merge([
'--disable-gpu',
Expand Down
1 change: 1 addition & 0 deletions tests/Browser/DuskTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ protected function driver(): RemoteWebDriver
{
$options = (new ChromeOptions)->addArguments(collect([
$this->shouldStartMaximized() ? '--start-maximized' : '--window-size=1920,1080',
'--disable-search-engine-choice-screen',
])->unless($this->hasHeadlessDisabled(), function (Collection $items) {
return $items->merge([
'--disable-gpu',
Expand Down

0 comments on commit 284f7cb

Please sign in to comment.