Setting Web Driver Preferences at Runtime is not working

For my project I need to change some of the browser’s starting parameters at runtime.

I searched the forum and found this command:

RunConfiguration.setWebDriverPreferencesProperty("property", "value")

So I tested it in a new Test Case:

RunConfiguration.setWebDriverPreferencesProperty("args", "proxy-server=172.0.0.1:80")
WebUI.openBrowser("https://google.com/")
WebUI.waitForPageLoad(60)
WebUI.delay(1000)

And, although Katalon shows that it applies the settings:

It doesn’t go through to chrome. In fact it doesn’t matter what args I write, it is like it just gets ignored.

Furthermore, if I apply the args beforehand through an execution profile, it works just fine.

I really appreciate any help.

Capture.PNG

Nobody? I really need this to work, what am I doing wrong? :frowning:

For my project I need to change some of the browser’s starting parameters at runtime.

Please be more specific. Are you satisfied if you could specify Proxy host/port, or something else? Which browser do you want to work with? Chrome, Firefox or something else? I ask you this because there is no one-for-all solution.

I’m working with Chrome. I need to change proxy/plugins/profile and eventually some other parameters like maximized etc. in the future.