Having some odd behaviour with using this on Windows machines. It works perfectly on Mac.
Running 'npm i -g chromedriver' succeeds, and then 'chromedriver' in cmd works as expected.
However when Selenium-JVM tried to start up this chromedriver it throws
Cannot run program "C:\Users\Auto81\AppData\Roaming\npm\chromedriver" (in directory "."):
CreateProcess error=193, %1 is not a valid Win32 application)
Upon a closer look the first path location that gets returned seems to be a shell script?
Having some odd behaviour with using this on Windows machines. It works perfectly on Mac.
Running 'npm i -g chromedriver' succeeds, and then 'chromedriver' in cmd works as expected.
However when Selenium-JVM tried to start up this chromedriver it throws
Upon a closer look the first path location that gets returned seems to be a shell script?
If I delete the script via
del %APPDATA%\npm\chromedriver
, then Selenium is able to start the driver properly.Only other related item I could find was https://github.com/giggio/node-chromedriver/issues/90