Skip to content

Configure nightwatch.json -- to point to selenium grid. #2809

Discussion options

You must be logged in to vote

hi @jmervis99 👋

I understand that you are facing an issue in configuring the Selenium host and port in Nightwatch. As you said selenium_host and selenium_port are deprecated. Instead please use the below settings

default: {
  launch_url: 'https://nightwatchjs.org',

  selenium: {
    start_process: false,
    port: <port>,
    host: '<server_name>'
  }
}

Let me know if you still facing issues, thanks

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@jmervis99
Comment options

Comment options

You must be logged in to vote
1 reply
@jmervis99
Comment options

Answer selected by vaibhavsingh97
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants