Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"lang" capabilities does not work for google chrome #2368

Closed
ksinapayen opened this issue Mar 18, 2022 · 0 comments
Closed

"lang" capabilities does not work for google chrome #2368

ksinapayen opened this issue Mar 18, 2022 · 0 comments

Comments

@ksinapayen
Copy link

Google chrome is always launched in english, despite any robot configuration we tried.
image

In the ROBOT configuration

You can add capabilities (like “lang”) in “RequestedCapabilities” that is taken into account in "FinalCapabilities"

But you can't merge a capabilities (par exemple "goog:chromeOptions" )

{
"FinalCapabilities": {
"acceptInsecureCerts": ["true"],
"browserName": ["chrome"],
"goog:chromeOptions": ["{args=[start-maximized, --user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36], extensions=[]}"],
"goog:loggingPrefs": ["org.openqa.selenium.logging.LoggingPreferences@88ff2b28"],
"lang": ["fr-FR"],
"platformName": ["WINDOWS"]
},
"RequestedCapabilities": {
"goog:chromeOptions": ["{args=[--lang=fr-FR]}"],
"lang": ["fr-FR"]
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant