How can I use npm package selenium-standalone with Nightmare.js instead of downloading the selenium jar?
Asked 07 September, 2021
Viewed 790 times
  • 55
Votes

As the title suggests, I want to use Nightmare.js with selenium. However, their documentation only mentions the selenium-standalone-xxxx.jar.

I know that there is an npm package called selenium-standalone. We can't I use that with Nightmare? And if I can, how? Nightmare's configuration needs a path for Selenium jar.

1 Answer