Cześć
Instaluje selenium-webdriver przez npm https://www.npmjs.com/package/selenium-webdriver
Odpalam ten kod
const webdriver = require('selenium-webdriver');
const chrome = require('selenium-webdriver/chrome');
const firefox = require('selenium-webdriver/firefox');
let driver = new webdriver.Builder()
.forBrowser('chrome')
.setChromeOptions(/* ... */)
.setFirefoxOptions(/* ... */)
.build();
Mam ściągnięte chromedriver i mam to ustawione w path
Niestety cały czas jest komunikat
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.
Ktoś z was miał podobne problemy?