导入selenium后,使用出错,困扰好久的问题,请求大佬帮助

zhoukeguai zhoukeguai 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
Traceback (most recent call last):
File "C:/Users/东东/PycharmProjects/untitled/23.py", line 2, in <module>
driver = webdriver.Firefox()
File "D:\py35\lib\site-packages\selenium-2.48.0-py3.5.egg\selenium\webdriver\firefox\webdriver.py", line 77, in __init__
self.binary, timeout),
File "D:\py35\lib\site-packages\selenium-2.48.0-py3.5.egg\selenium\webdriver\firefox\extension_connection.py", line 49, in __init__
self.binary.launch_browser(self.profile)
File "D:\py35\lib\site-packages\selenium-2.48.0-py3.5.egg\selenium\webdriver\firefox\firefox_binary.py", line 68, in launch_browser
self._wait_until_connectable()
File "D:\py35\lib\site-packages\selenium-2.48.0-py3.5.egg\selenium\webdriver\firefox\firefox_binary.py", line 103, in _wait_until_connectable
raise WebDriverException("Can't load the profile. Profile "
selenium.common.exceptions.WebDriverException: Message: Can't load the profile. Profile Dir: %s If you specified a log_file in the FirefoxBinary constructor, check it for details.


以上是报错信息,下面是我使用的一些版本 python 3.5.4 selenium2.48.0 firfox 35


...全文

相关推荐

评论 2
收藏 已收藏
分享
返回顶部
zhoukeguai
软件测试 5,227 成员 8,136 内容