I am trying to run automated tests via Webdriver.io, Selenium and ChromeDriver on Mac. I am using the latest versions of all involved software:
Google chrome browser is updating day by day , you should need use chrome driver exe according to which browser versions are using in our Computer please use latest chrome driver and browser versions https://chromedriver.chromium.org/downloads
Found the solution here: https://github.com/Polymer/web-component-tester/issues/573#issuecomment-310828303
Quote:
Finally i got it fixed after lot of struggle. It was happening because my localhost was mapped according to new Ipv6 standard like [::1] but the selenium needed the ipv4 address like 127.0.0.1. so i had to change it using the command in my system like this :
Open a terminal window and type this line:
sudo open -a TextEdit /etc/hosts
You will be prompt to type in your admin password and your host file will open in TextEdit. Add this line in your host file :
127.0.0.1 localhost
Save the file and close. That's it.
(addendum: TextEdit refused to save the file for me, even as superuser, so I used sudo vim /etc/hosts
instead)