selenium2.53.1启动火狐47.0报错 财富值5

2016-10-26 10:50发布

>>> br=webdriver.Firefox() Traceback (most recent call last):   File "<stdin>", line 1, in <module>   File "D:Python27libsite-packagesseleniumwebdriverfirefoxwebdriver.py", line 103, in __init__     self.binary, timeout)   File "D:Python27libsite-packagesseleniumwebdriverfirefoxextension_connection.py", line 51, in __init__     self.binary.launch_browser(self.profile, timeout=timeout)   File "D:Python27libsite-packagesseleniumwebdriverfirefoxfirefox_binary.py", line 67, in launch_browser     self._start_from_profile_path(self.profile.path)   File "D:Python27libsite-packagesseleniumwebdriverfirefoxfirefox_binary.py", line 90, in _start_from_profile_path     env=self._firefox_env)   File "D:Python27libsubprocess.py", line 710, in __init__     errread, errwrite)   File "D:Python27libsubprocess.py", line 958, in _execute_child     startupinfo) WindowsError: [Error 2]

请问这个怎么解决呀?

友情提示: 问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
0条回答

一周热门 更多>