具体报错信息如下:
selenium.common.exceptions.WebDriverException:Message: Can not connect to the Service chromedriver

[Mac解决报错]Can not connect to the Service chromedriver

解决方案:在host文件中添加以下信息:

               127.0.0.1 localhost

host文件:在finder中点击前往,前往文件夹/private/etc/,若无权限修改文件,右击文件在详细信息中打开全权限,若依然不行,请以同样的方式给etc文件夹权限

相关文章:

  • 2022-01-10
  • 2021-10-17
  • 2021-08-14
  • 2022-12-23
  • 2021-09-08
  • 2022-12-23
  • 2021-12-23
  • 2021-07-02
猜你喜欢
  • 2021-05-19
  • 2021-12-07
  • 2022-12-23
  • 2021-07-21
  • 2021-06-10
  • 2022-02-27
  • 2021-08-03
相关资源
相似解决方案