How to disable popup happening on edge 118?

Copper Contributor

I am getting the popup after 5 mins of running the selenium test. The popup states "Help us make search better for you" and this blocks the screen. I need to turn this off through selenium option. This started only from edge 118 beta. Any suggestions to turn this off ?

Screenshot 2023-10-27 at 3.28.54 PM.png

1 Reply

@hariharan_ss 

 

I spent a lot of time figuring this out today and finally found a solution, add the `--guest` argument.   The `no-first-run` switch worked but presented a Welcome Screen overlay.

 

The browser will use a default Guest profile, which doesn't prompt for profile changes.

 

NodeJS example (used with WebdriverIO v7)

 

capabilities = {
    browserName: 'MicrosoftEdge',
    acceptInsecureCerts: true,
   'ms:edgeOptions': {
        args: ['test-type', '--no-sandbox', '--disable-dev-shm-usage', '--guest'],
        excludeSwitches: ["enable-automation", "no-default-browser-check"]
    }
}