Web Testing On Localized Browsers

Hi Team,

We’ve couple of queries on Katalon Studio Web Testing

  1. How to get the currently opened browser name ?

  2. I need to have single test case to execute on multiple language browsers like Japanese/Russian etc. How to change the browser locale in run time using browser capabilities ?

Basically we will be testing out application on various localized languages, and we would need to take screenshot of the AUT, with naming convention as <AUT’s Page Name>.png

Many thanks in advance!


i got the solution for #1 as ,

import org.openqa.selenium.Capabilities
import org.openqa.selenium.WebDriver
import org.openqa.selenium.remote.RemoteWebDriver
import com.kms.katalon.core.webui.driver.DriverFactory

WebDriver driver = DriverFactory.getWebDriver()
Capabilities caps = ((RemoteWebDriver) driver).getCapabilities()
String browserName = caps.getBrowserName()

And for #2,
I’ve written a custom keyword to open localized browser based on the locale (loop through from test data properties file) as its capabilities. So now i can launch N no of localized browsers within a single test case


Hi Team,

I just realized that, creating and call custom keyword for opening localised browser (say its Chrome) in the testcase instead of WebUI.openBrowser(), it’s not carry over the driver session for remaining any other keywords like click(), waitForElementPresent() etc.,

Could you please help in open browser with custom capabilities

Many thanks!

Any suggestions please