You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to be able to set browser's locale for some of the tests to check that i18n works fine. I could not find any way to do so neither through Nightwatch nor Selenium.
I could do it by sending some arbitrary headers, but also could not find the way to do so.
Is it even possible? Feel free to close the case if not really, thank you!
The text was updated successfully, but these errors were encountered:
There isn't a way to send headers from Nightwatch in a UI test.
One way you could do this in Firefox is to create a specific profile and specify the language (go into about:config and set intl.accept_languages). Then pass the name of the profile in nightwatch.json (see http://nightwatchjs.org/guide#selenium-settings).
There isn't a way to send headers from Nightwatch in a UI test.
One way you could do this in Firefox is to create a specific profile and
specify the language (go into about:config and set intl.accept_languages).
Then pass the name of the profile in nightwatch.json (see http://nightwatchjs.org/guide#selenium-settings).
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
I want to be able to set browser's locale for some of the tests to check that i18n works fine. I could not find any way to do so neither through Nightwatch nor Selenium.
I could do it by sending some arbitrary headers, but also could not find the way to do so.
Is it even possible? Feel free to close the case if not really, thank you!
The text was updated successfully, but these errors were encountered: