1

I'm doing a tutorial for selenium using node.js on MacOS but when I try to open Firefox I get the error:

Error: The geckodriver executable could not be found on the current PATH.

I'm at a loss at trying to implement the executable path using node.js. I have been guided to look at

WebDriverException: 'geckodriver' executable needs to be in PATH even though it is

I have looked at other examples but I am still confused on what I should do for node.js.

This is the path I'm trying to use:

/Users/myName/Documents/seleniumWebdrivers/geckodriver

How can I fix this?

Jaysmito Mukherjee
  • 1,467
  • 2
  • 10
  • 29
JNode
  • 11
  • 3

0 Answers0