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.