Skip to content

Allow using Locale constants for setting language level #945

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

skyhirider
Copy link
Contributor

I am wondering if setAcceptLanguageHeader should also inherit the value set in language level by default, as I believe Chrome switches the value when you set the browser itself to run in another language.

@skyhirider
Copy link
Contributor Author

skyhirider commented Mar 16, 2025

yup, when I set

ChromeOptions chOptions = new ChromeOptions();
chOptions.addArguments("--lang=de");

I can see de-DE,de in accept-language

image

Think its worth adding this to the pull as well?

Time zone does not change with this setting thou.

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

Successfully merging this pull request may close these issues.

1 participant