DesiredCapabilities

I’m trying to ignore the pop up in the browser that asks if you want to allow chrome to send notifications but I can’t seem to get the correct DesiredCapabilities set in the project settings. Any advice?

got it!! in my “com.kms.katalon.core.webui.chrome.properties” I did this:

{“CHROME_DRIVER”:{“args”:[“disable-notifications”]}}

and it worked!!

3 Likes

Amanda Perkins said:

got it!! in my “com.kms.katalon.core.webui.chrome.properties” I did this:

{“CHROME_DRIVER”:{“args”:[“disable-notifications”]}}

and it worked!!

It failed when trying using that in Chrome Headless. Is there a way to do the same thing in Chrome Headless?

Amanda Perkins said:

got it!! in my “com.kms.katalon.core.webui.chrome.properties” I did this:

{“CHROME_DRIVER”:{“args”:[“disable-notifications”]}}

and it worked!!

can you please explain how did you do it? What is the code or where should i make above changes?

How do for FireFox and IE browser?

1 Like