I’m trying to specify language (English, Japanese etc.) in mobile web testing on real devices.
I succeeded in setting language by using language
(and locale
if necessary) capabilities in
- Native apps
- Android Chrome
But on iOS Safari it’s not working as expected.
Looking at the video on Sauce Labs,
- OS language is actually changed to Japanese
- The first web page https://appium.io is displayed with Japanese
- After nagivated to another web page which is localized, it’s displayed with English
- I’ve confirmed that
Accept-Language
request header isen-US, en
on https://manytools.org/http-html-text/browser-language/
Is there any way to resolve this situation?