N
N
Ne7Le4Der2021-11-29 20:09:03
Node.js
Ne7Le4Der, 2021-11-29 20:09:03

NodeJS selenium how to specify path relative to script?

How to specify the path to chromedriver.exe relative to the script?

Now I am getting this error:

Error: The ChromeDriver could not be found on the current PATH. Please download the latest version of the ChromeDriver from http://chromedriver.storage.googleapis.com/index.html and ensure it can be found on your PATH.


The script will run on different computers, creating a variable in PATH is not an option

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question