title: Selenium change language browser Chrome / Firefox
body: <p>I'm trying to test my website with Selenium but I don't manage to change the language of the browser. I tried with Firefox, changing the profile also but it's not working.</p>
  <p>That's a pity because much of my content is changing regarding the language.</p>
  <p>Here is my Python code:</p>
  <pre><code>@classmethod
  def setUpClass(cls):
      super(SeleniumTestCase, cls).setUpClass()
      options = Options()
      options.add_argument('--lang=en')
      cls.selenium = WebDriver(chrome_options=options)
  </code></pre>
  <p>So normally I change the language but nothing happens...</p>
  <p>Just to clarify. I already checked on stack<strong>overflow</strong> and if I post this question it's really because I tried most of the solutions I saw.</p>