I have installed chrome-driver from http://chromedriver.storage.googleapis.com/index.html and I have installed both Google-chrome browser also. I want to Run cucumber test cases using chrome browser instead of Firefox browser but I am stuck with this error. Any help appreciated. Thanks
I had this issue because of path override with rbenv shim.
It's worth checking where which chromedriver
points too.
For me the fix was:
gem uninstall chromedriver-helper
and brew install chromedriver
If you using rbenv on linux machine then
copy 'chromedriver' to current using ruby versions like below -
cp chromedriver $HOME/.rbenv/versions/2.2.0/bin
Example: cp chromedriver home/abc_user/.rbenv/versions/2.2.0/bin
and then set the permissions like -
chmod +x home/abc_user/.rbenv/versions/2.2.0/bin/chromedriver
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With