У меня не проходит установка дополнения средствами селениум. Так ругается:

Выделить код

Код:

profile.add_extension('/home/ext.xpi')
  File "/usr/lib/python2.6/site-packages/selenium/webdriver/firefox/firefox_profile.py", line 92, in add_extension
    self._install_extension(extension)
  File "/usr/lib/python2.6/site-packages/selenium/webdriver/firefox/firefox_profile.py", line 269, in _install_extension
    addon_details = self._addon_details(addon)
  File "/usr/lib/python2.6/site-packages/selenium/webdriver/firefox/firefox_profile.py", line 374, in _addon_details
    raise AddonFormatError('Add-on id could not be found.')
selenium.webdriver.firefox.firefox_profile.AddonFormatError: Add-on id could not be found.

Что за Add-on id?

https://developer.mozilla.org/en-US/Add … nifests#id