2

这是我在尝试运行时收到的消息: Traceback(最近一次通话最后一次):

 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" 
4

1 回答 1

5

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

于 2013-01-25T06:02:39.377 回答