Localization Testing using Selenium Webdriver (Basic Tips)

Localization Testing using Selenium Webdriver is necessary when working with international web applications. We need to test those web apps in many different languages. Our test automation codes have to be run in each local chapter of the application or website. You can also think this as globalization testing as well. They are well described on here.

Localization Testing Real Life Scenario

Real Life Scenario: Sometimes, websites have an option to change its language independent from the browser’s language.  Some of them change the web app’s language according to the browser’s local settings.

Question: So how to change your browser’s language for multi-language tests in Selenium Webdriver?

Solution: All you need to do is to provide the necessary ChromeOptions or FirefoxOptions objects into your drivers.

localization testing

Chrome Driver Options

Firefox Driver Options

Language parameter can be:


Happy multi-language testing in Selenium Webdriver projects. Now, you can do localization testing using Selenium Webdriver without any pain. 🙂

Canberk Akduygu

By |2018-12-04T00:47:25+00:00December 4th, 2018|Selenium Tutorials|2 Comments

About the Author:

Canberk Akduygu is as Test Architect working on Test Automation and Performance Testing.


  1. Emirhan Gül December 6, 2018 at 9:06 am - Reply

    Hello, great document. Is there a IE version of this usage ?

  2. Canberk Akduygu December 6, 2018 at 6:34 pm - Reply

    I dont have a Windows machine. In case I find one, i’ll modify my solution.

Leave A Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.