FWIW, the bundled 'webdriver.xpi' for Firefox does not work on any
version of Iceweasel >5.x, which renders Selenium useless when using
this browser backend.
Traceback (most recent call last):
File "/home/amoe/mysite/fts/tests.py", line 6, in setUp
self.browser = webdriver.Firefox()
File
"/usr/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py",
line 46, in __init__
self.binary, timeout),
File
"/usr/lib/python2.7/dist-packages/selenium/webdriver/firefox/extension_connection.py",
line 46, in __init__
self.binary.launch_browser(self.profile)
File
"/usr/lib/python2.7/dist-packages/selenium/webdriver/firefox/firefox_binary.py",
line 44, in launch_browser
self._wait_until_connectable()
File
"/usr/lib/python2.7/dist-packages/selenium/webdriver/firefox/firefox_binary.py",
line 87, in _wait_until_connectable
raise WebDriverException("Can't load the profile. Profile Dir :
%s" % self.profile.path)
WebDriverException: Message: "Can't load the profile. Profile Dir :
/tmp/tmpDESn7S
Tools > Addons in the newly created Firefox profile shows "Firefox
WebDriver is incompatible with Iceweasel 10.0.7"; hence the hang on
'_wait_until_connectable'.
--
David Banks <[email protected]>
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]