How to pass arguments while creating chrome webdriver in robot framework


I have to add below arguments in while creating chrome driver in robot
I use below methods to add arguments -
Call Method ${chrome_options} add_argument incognito

Similarly I have to add below arguments , Thanks in advance

options.add_experimental_option("excludeSwitches", ["enable-automation"])
options.add_experimental_option('useAutomationExtension', False)

Hi @bk-user,

A quick duck duck search for “seleniumlibrary chrome options” yields examples of how to use chrome options with seleniumlibrary, e.g.:


I used like this way but not working -
Call Method ${chrome_options} add_experimental_option excludeSwitches enable-automation
Call Method ${chrome_options} add_experimental_option useAutomationExtension False

Actually I am trying to add these arguments because I am facing issue mentioned in this link -

I tried to add prefs like below as below, but still I am getting site can not be reached error