Skip to content

Commit

Permalink
Disable search-engine popup in Google Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwinVW committed Sep 17, 2024
1 parent ed9ada9 commit cd585ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/UITest/PageModel/PitstopApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public PitstopApp(string testrunId, Uri startUrl)
string dir = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
ChromeOptions options = new ChromeOptions();
options.AddArgument("--start-maximized");
options.AddArgument("--search-engine-choice-country");
_webDriver = new ChromeDriver(dir, options);
_webDriver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(10);
_startUrl = startUrl;
Expand Down

0 comments on commit cd585ce

Please sign in to comment.