Seems to be handling browser notification by adding option ‘–disable-notifications’ is not working anymore. I found this issue in last times.
This is my piece of code, in custom keyword:
Go to site
[Arguments] ${siteUrl} ${Browser}
${chrome_options}= Evaluate sys.modules[‘selenium.webdriver’].ChromeOptions() sys
call method ${chrome_options} add_argument --disable-notifications
call method ${chrome_options} add_experimental_option prefs ${prefs}
${options}= Call Method ${chrome_options} to_capabilities
open browser ${siteUrl} ${Browser} desired_capabilities=${options}
set window size 1450 850
It was always working, but the last mounth it was not working anymore.
Could somebody help me to resolve this issue?
Maybe this is a problem on robot framework side or maybe this issue appears in newest version RF?