selenium执行打开浏览器,报Can not connect to the Service xxxxdriver

把hosts(在此目录C:\Windows\System32\drivers\etc)文件里的127.0.0.1 localhost这行注释去掉就可以

参考:https://*.com/questions/24900922/webdriverexception-message-can-not-connect-to-the-chromedriver-error-in-uti