I am using ChromeDriver with java and arquillian drone Framework to check the localization of our web page. To test the behavior of unsupported locales installed in the browser, we set the chromes locale using the command line argument:
--lang=it
The resulting ACCEPT-LANGUAGE -header, however, is as follows:
it-IT,it;q=0.8,en-US;q=0.6,en;q=0.4
Is there a way to keep chromeDriver from automatically resolving en_us and en ?
source share