Welcome to the Question and Answer site for Software Testing Professionals

You can get your queries resolved from Software Testing Professionals.

Ask a Question

Get answers and give answers to questions from other members.

View All Questions

Get votes and earn points to build your reputation in community.

View Hot Questions

How to change the language of the chrome browser in Selenium WebDriver?

Open 1 Answers 18 Views
0 1
I am doing localization testing. I would like to know how do I change the language of my chrome browser using Selenium WebDRiver?

1 Answer


Below is the syntax you can use for Chrome Browser :


ChromeOptions options = new ChromeOptions();

options.addArguments("-lang= sl");

ChromeDriver driver = new ChromeDriver(options);


Read more: https://softwaretestingboard.com/qna/2347/how-to-change-the-language-of-the-browser-selenium-webdriver#ixzz53Jwtn01s

answered by (733 points)

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

We have resolved 1.2k+ Software Testing queries!

Software Testing Board Weekly update

We will send you handpicked questions that you would love to answer.

View previous campaigns.

Top Contributors