title: How to change the language of a WebDriver?
body: <p>I want to execute my Selenium tests in different languages. Is it possible to change the language of an existing WebDriver at runtime or do I have to recreate the browser instance?</p>
  
  <p>Right now I'm only using Firefox, but I want to execute tests in different browsers at some later point.</p>
  
  <p>In Firefox I set the language like this:</p>
  
  <pre><code>FirefoxProfile profile = new FirefoxProfile();
  profile.setPreference("intl.accept_languages", "de");
  WebDriver driver = new FirefoxDriver(profile);
  </code></pre>
  
  <p>I also implemented a WebDriverPool, which holds a WebDriver instance so it can be shared among tests. If the language can only be set at creation time, I could hold an instance for every locale.</p>
  
  <p>All in all I wonder if I miss something here. Why is it so hard to change the language? shouldn't there be a method like <code>WebDriver.setAcceptLanguages(Locale)</code>?</p>
  
  <p>In a nutshell I have these questions:</p>
  
  <ol>
  <li>Why isn't there <code>WebDriver.setAcceptLanguages(Locale)</code>?</li>
  <li>How to change the language for the dirrerent WebDrivers? </li>
  <li>Can I change the language at runtime?</li>
  <li>How did you guys implement your WebDriverPool or do you recreate them everytime?</li>
  </ol>