Hello,
At the moment, our selenium scripts run on a remote machine on chrome. I would like to set the default language as English-UK for chrome browser when it starts running the tests. Could any one please let me know to achieve this? Below is the configuration file used by selenium grid. I suspect that we cannot set browser config remotely, so it has to be set in a selenium grid config file.
------------------
{
"capabilities":
[
{
"browserName":"firefox",
"acceptSslCerts":true,
"javascriptEnabled":true,
"takesScreenshot":true,
"firefox_profile":"",
"maxInstances":5
},
{
"browserName":"chrome",
"maxInstances":5
},
{
"browserName":"internet explorer",
"platform":WINDOWS
}
],
"configuration":
{
"cleanUpCycle":2000,
"timeout":30000,
"proxy":"org.openqa.grid.selenium.proxy.WebDriverRemoteProxy",
"maxSession":5,
"port": 5555,
"host": ip,
"register" = true ,
"hubPort" : 4444
}
}
-------------------------------------
Thanks,
Kiran