selenium执行打开浏览器,报Can not connect to the Service xxxxdriver
更新:HHH   时间:2023-1-7


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

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

返回软件技术教程...