I am using the ChromeDriver with java and the arquillian drone Framework to test the localization of our webpage. To test the behavior on unsupported locales set in the browser we set the chromes locale via the command line argument:
--lang=it
The resulting ACCEPT-LANGUAGE
-header, however, looks like this:
it-IT,it;q=0.8,en-US;q=0.6,en;q=0.4
Is there a way to keep the chromeDriver from automatically allowing en_us
and en
?