You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.
It would be really useful if there was a way to programmatically alter the browser's
locale. Right now all you can do is prepare a specific profile and use that, but that's
not very flexible.
(see Patrick Lightbody's comment here:
http://stackoverflow.com/questions/1838703/how-to-set-the-browser-locale-for-selenium-tests-running-in-java)
Reported by wolfgang.schnerring on 2010-12-04 17:15:49
The text was updated successfully, but these errors were encountered:
You can set about:config settings using the FirefoxProfile class in WebDriver - hopefully
as the code-bases merge, this will appear in RC soon (though it may already be do-able
somehow)
The 1.x API is frozen, so we won't be adding additional methods to it. Fortunately,
it already has the functionality to use a "template profile", so you can use the FirefoxProfile
class from 2.x and call "layoutOnDisk" on it to create the template.
Marking this issue as fixed, as the required functionality is present.
Reported by simon.m.stewart on 2010-12-05 17:47:55
This isn't very portable, making it unusable for writing tests that will be run by many
people in different locations, unlike having the ability to set a parameter in the
same manner as the host name, for instance:
<parameter name="selenium.locale" value="en_IE"></parameter>
Being able to set the locale as the above example would be much preferred, and from
the returns from my Google search, would help a lot of people.
Originally reported on Google Code with ID 1087
Reported by
wolfgang.schnerring
on 2010-12-04 17:15:49The text was updated successfully, but these errors were encountered: