'intl.accept_languages': 'de-DE', doesnt work with nightwatch version 2.2.1 #3241
Unanswered
kmahata
asked this question in
Help Needed
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
As part of internationalization we used to set browser locale using 'intl.accept_languages': 'de-dE', and worked fine with 1.7.12. Trying to upgrade and browser locale is no more set. Any help around it would be useful. Tried for different locales and nothing works. I can see in verbose it gets set properly as 'intl.accept_languages': 'de-de',
{
desiredCapabilities: {
browserName: 'chrome',
javascriptEnabled: true,
acceptSslCerts: true,
chromeOptions: {
prefs: {
'intl.accept_languages': 'de-de',
'profile.managed_default_content_settings.notifications': 1
},
w3c: false,
args: [ '${BROWSER_RENDER}', '--disable-infobars' ]
},
name: '*********',
'goog:chromeOptions': {}
},
capabilities: { alwaysMatch: { browserName: 'chrome', 'goog:chromeOptions': {} } }
Beta Was this translation helpful? Give feedback.
All reactions