How can we set driver port for automation execution in Katalon

Is there a way to specify a port # for browser to be launched. By default, Katalon scripts pick any random port #. We are not able to launch the browser in the docker hosted on cloud based machine

We are using following statement for browser launch
WebUI.openBrowser(GlobalVariable.loginURL)

Please suggest

Thanks,
Varsha Maheshwari
CitiusTech

hi,

you can try to use external chrome driver & proxy and set port there

System.setProperty("webdriver.chrome.driver", "/path/to/chromedriver");
WebDriver driver = new ChromeDriver();
driver.get("http://www.google.com");
1 Like

Hi,
I have the same requirement. I’m getting error like
β€œCan’t open browser with url(’’)” on docker.

NOTE:
-Chrome browser and chromedriver version are matching.