Jemboy Posted July 28 Share Posted July 28 I have several webdriver "projects" using the Webdriver UDF. For these I specifically use Chromedriver. Recently I noticed people getting an onetime popup when using GoogleChrome to choose their default serach engine. Yesterdy, I just installed a new WIndows 11 machine and got the popup once when using Google Chrome for the first time, however when using webdriver/chromedriver I get the popup everytime I start a script. Older computers with Wndows 10 or WIndows 11 do not have the popup when running the same scripts! Does any one know a way do disable this within my chromedriver Autoit scripts? Link to comment Share on other sites More sharing options...
Danp2 Posted July 28 Share Posted July 28 Apparently this is a new feature with Chrome 127. You should try the solution mentioned here. Jemboy 1 Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Jemboy Posted July 29 Author Share Posted July 29 @Danp2Using your link I added _WD_CapabilitiesAdd("args","disable-search-engine-choice-screen") to my script and the search engine selection pop-up, does not pop-up anymore Thanks! WD_CapabilitiesStartup() _WD_CapabilitiesAdd("alwaysMatch", "chrome") _WD_CapabilitiesAdd("w3c", True) _WD_CapabilitiesAdd("excludeSwitches", "enable-automation") _WD_CapabilitiesAdd("useAutomationExtension", false) _WD_CapabilitiesAdd("prefs","credentials_enable_service", False) _WD_CapabilitiesAdd("args","disable-search-engine-choice-screen") $sDesiredCapabilities = _WD_CapabilitiesGet() Danp2 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now