-
Notifications
You must be signed in to change notification settings - Fork 192
[Feature Request] Ability to set preferences #213
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
Comments
Created a PR adding this feature request as we need it in WebdriverIO too. |
Actually, I can't make it work with
@Niek mentioned a manual entry in the data dir Preferences file. Where can i find it and how can I set it please ? |
@VincentClair you need to write the JSON Preferences file to the user data dir prior to starting Chrome. See https://niek.github.io/chrome-features/ (bottom of page) for a list of available settings. |
Fixed in #247 - closing issue |
Some features can't be changed with Chrome flags, but require a manual entry in the data dir
Preferences
file. For example: the--lang
flag is (no longer?) working on macOS, butintl.accept_languages
preference works fine.It would be great if
launch()
would have anextraPrefs
or similar option to pass in an JSON object of preferences to put in the data dirPreferences
file.The text was updated successfully, but these errors were encountered: