带Python的Selenium webdriver在升级到Firefox 18后崩溃

带Python的Selenium webdriver在升级到Firefox 18后崩溃,firefox,selenium,python-2.7,selenium-webdriver,Firefox,Selenium,Python 2.7,Selenium Webdriver,以下是我在尝试运行时收到的消息:Traceback(最近一次呼叫last): 文件“C:\Python27\intertwyneloginandemail”,第3行,在 driver=webdriver.Firefox() 文件“C:\Python27\lib\site packages\selenium\webdriver\firefox\webdriver.py”,第51行,在\uuu init中__ self.binary,超时), 文件“C:\Python27\lib\site pack

以下是我在尝试运行时收到的消息:Traceback(最近一次呼叫last):

文件“C:\Python27\intertwyneloginandemail”,第3行,在
driver=webdriver.Firefox()
文件“C:\Python27\lib\site packages\selenium\webdriver\firefox\webdriver.py”,第51行,在\uuu init中__
self.binary,超时),
文件“C:\Python27\lib\site packages\selenium\webdriver\firefox\extension\u connection.py”,第47行,在\uuu init中__
self.binary.launch_浏览器(self.profile)
文件“C:\Python27\lib\site packages\selenium\webdriver\firefox\firefox\u binary.py”,第44行,在启动浏览器中
self.\u等待\u直到\u可连接()
文件“C:\Python27\lib\site packages\selenium\webdriver\firefox\firefox\u binary.py”,第86行,在可连接之前等待
self.profile.path,self.\u get\u firefox\u output())
WebDriverException:消息:“无法加载配置文件。配置文件目录:
c:\\users\\aarons\\appdata\\local\\temp\\tmphqwoq5 Firefox输出:**LOG addons.xpi:startup\r\n***WARN addons.xpi:忽略c:\\Program Files(x86)\\Common中缺少的加载项
Files\\McAfee\\SystemCore\r\n***LOG addons.xpi:跳过不可用的安装位置app system local\r\n***LOG addons.xpi:跳过不可用的安装位置app system share\r\n***
LOG addons.xpi:checkForChanges\r\n***LOG addons.xpi:未找到任何更改\r\n“

尝试将selenium软件包更新到最新版本(2.29.0)

+1-我以前的解决方法是使用Firefox 15创建一个目录,并将其用作FirefoxBinary。更新比这样做要好得多:)谢谢伙计们,我可以用命令来更新它:install-U selenium。这对我来说也很有用……用相同的命令更新了selenium……谢谢伙计们。。。
 File "C:\Python27\intertwyneloginandemail", line 3, in <module>
 driver = webdriver.Firefox()
 File "C:\Python27\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 51, in __init__
 self.binary, timeout),
 File "C:\Python27\lib\site-packages\selenium\webdriver\firefox\extension_connection.py", line 47, in __init__
 self.binary.launch_browser(self.profile)
 File "C:\Python27\lib\site-packages\selenium\webdriver\firefox\firefox_binary.py", line 44, in launch_browser
 self._wait_until_connectable()
 File "C:\Python27\lib\site-packages\selenium\webdriver\firefox\firefox_binary.py", line 86, in _wait_until_connectable
 self.profile.path, self._get_firefox_output()))

 WebDriverException: Message: "Can't load the profile. Profile Dir:   
 c:\\users\\aarons\\appdata\\local\\temp\\tmphqwoq5 Firefox output: *** LOG addons.xpi: startup\r\n*** WARN addons.xpi: Ignoring missing add-on in C:\\Program Files (x86)\\Common  
 Files\\McAfee\\SystemCore\r\n*** LOG addons.xpi: Skipping unavailable install location app-system-local\r\n*** LOG addons.xpi: Skipping unavailable install location app-system-share\r\n***
 LOG addons.xpi: checkForChanges\r\n*** LOG addons.xpi: No changes found\r\n"