# HG changeset patch # User Oleksandr Gavenko # Date 1390922075 -7200 # Node ID 7eadf0928d5781f3beef79f5e14a354a4b3e494e # Parent 6589f81b9c880c405d3f5a2045eaf07bbde16e8c Set language preferences. diff -r 6589f81b9c88 -r 7eadf0928d57 selenium.rst --- a/selenium.rst Fri Jan 17 15:21:31 2014 +0200 +++ b/selenium.rst Tue Jan 28 17:14:35 2014 +0200 @@ -14,7 +14,16 @@ http://docs.seleniumhq.org/docs/03_webdriver.jsp WebDriver https://code.google.com/p/selenium/w/list - Docs on Wiki. + Docs on Wiki about drivers and browser support. + +WebDriver. +---------- + + * http://code.google.com/p/selenium/wiki/InternetExplorerDriver + * http://code.google.com/p/selenium/wiki/ChromeDriver + * http://selendroid.io/mobileWeb.html - Android. + * http://code.google.com/p/selenium/wiki/OperaDriver + * Tutorials. ========== @@ -46,3 +55,17 @@ home page https://community.jboss.org/wiki/ArquillianGraphene2 wiki page + +Set language preferences. +========================= + +For FirefoxDriver:: + + FirefoxProfile profile = new FirefoxProfile(); + profile.setPreference( "intl.accept_languages", "no,en-us,en" ); + WebDriver driver = new FirefoxDriver(profile); + +See: + + * http://code.google.com/p/selenium/wiki/TipsAndTricks +