python selenium webdriver issue ( selenium.common.exceptions.WebDriverException: Message: \"Can't load the profile. Profile Dir: )

时光总嘲笑我的痴心妄想 提交于 2019-12-05 10:50:51

You need the entry for localhost in your hosts file. But you can add your local.development.com.

So make sure you have:

127.0.0.1 localhost
127.0.0.1 local.development.com

In your hosts file. Rather than just one or the other. The hosts file is a mapping from domain names to IP addresses. You can have lots of domain names that point to the same IP address. But Selenium explicitly tries to connect to 'localhost'. And you had deleted that entry.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!