How to translate the language of the web page in the Chrome browser?
Hey Alex,
You need to pass the language argument like [--lang=ar]
in the arguments of the Chrome options.
E.g.:
ChromeOptions options = new ChromeOptions();
options.addArguments("--lang=ar");
capabilities.setCapability("goog:chromeOptions",options);
ar- denotes Arabic