Hi Katalon Support,
One of our requirement is to be able to test our app with The Beta Chrome Browser version. While this could be achieved with following code in regular Java based frameworks, I am wondering how to achieve this with Katalon Studio?
ChromeOptions optionsBeta = new ChromeOptions();
WebDriver driver = new ChromeDriver(optionsBeta);
Requesting guidance on this topic.
If this works in Java, it will work in Groovy/Katalon. The only think you have to do is to switch drivers and use your custom driver as default one.
ChromeOptions optionsBeta = new ChromeOptions();optionsBeta.setBinary("path\\to\\chrome\\browser\\beta\\binary");
System.setProperty("webdriver.chrome.driver", "C:\\path\\to\\chromedriver.exe")WebDriver driver = new ChromeDriver(optionsBeta);// the magic lineDriverFactory.changeWebDriver(driver)WebUI.navigateToUrl('www.katalon.com')
The solution mentioned by you is working perfect for us now.