0

I want to load an extension in seleniuum, but it keep on giving me the error message

SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0x96 in position 0: invalid start byte

I have tried to install the extension directly on the browser and it installed.

What could be wrong. This is what I have done

chromeExtension = os.path.join(settings.SELENIUM_LOCATION,'capture_image_extension')
chromiumOptions = [
  '--other-arguments=all_this_worked_before_extension',
  '–-load-extension='+chromeExtensionStr
]

I could not event compile the program. it was giving me the error message please what should i do. i have put all the files in a directory, i have used a .zip file and also a .crx file

jarhead
  • 9
  • 3

0 Answers0