Search code examples
automated-testsoperaweb-testingkatalon-studio

Adding custom browser in Katalon Studio


I just want to know if in Katalon Studio is possible to add custom browser for an execution ? for example: Opera.

I've seen many things in internet and have tried to add custom browser via project settings. Project Settings-->Desired Capabilities-->Custom


Solution

  • You will need to use Opera driver with Selenium. So instead of using WebUI.openBrowser('wwww.example.com'), use the following:

    System.setProperty("webdriver.opera.driver", "D:/path-to-operadriver/operadriver_win64/operadriver.exe")
    WebDriver driver = new OperaDriver()
    driver.get('www.example.com')
    

    Note: download the Opera driver from here.