Question

Selecting default search engine is needed for Chrome version 127

All of my Selenium scripts are raising errors after Chrome updated to version 127 because I always have to select a default search engine when the browser is being launched.

I use ChromeDriver 127.0.6533.72.

Is anyone experiencing the same issue?

 3  1224  3
1 Jan 1970

Solution

 13

Just need to add this Chrome Options:

options.addArguments("--disable-search-engine-choice-screen");

2024-07-24
David

Solution

 7

Davids solution worked for me. Cannot upvote since i have no rep, but i believe that is your answer.

from selenium import webdriver
from selenium.webdriver.chrome.options import Options

chrome_options = Options()
chrome_options.add_argument("--disable-search-engine-choice-screen")
driver = webdriver.Chrome(options=chrome_options)
2024-07-24
mflmflmfl

Solution

 0

I noticed that the test itself is not hindered by this at least not with Java and Serenity, even the screenshot is ok, but its annoying that you cannot minimize the window until you select the option. The above option works ok for Serenity also you just need to add it in the chrome.switches.

2024-07-24
Ruxandra