Configure nightwatch.json -- to point to selenium grid. #2809
-
In nightwatch.json , I use to use "test_settings" : {
Now in nightwatch 1.7.6 is says to use selenium.port, selenium.host instead of selenium_port, selenium_host. this doesn't seem to be working. If I put in the seleniumhost webadress it still uses localhost. Any help would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Extra info. I went back to 1.6.4 and all works again. Maybe this is an issue or change in 1.7.6 |
Beta Was this translation helpful? Give feedback.
-
hi @jmervis99 👋 I understand that you are facing an issue in configuring the Selenium host and port in Nightwatch. As you said default: {
launch_url: 'https://nightwatchjs.org',
selenium: {
start_process: false,
port: <port>,
host: '<server_name>'
}
} Let me know if you still facing issues, thanks |
Beta Was this translation helpful? Give feedback.
hi @jmervis99 👋
I understand that you are facing an issue in configuring the Selenium host and port in Nightwatch. As you said
selenium_host
andselenium_port
are deprecated. Instead please use the below settingsLet me know if you still facing issues, thanks