har-export-trigger
har-export-trigger copied to clipboard
How to install the firefox add-on manually, by command line?
I am performing selenium tests and use a firefox instance that is part of a docker image. Therefore I cannot just 'open firefox' and 'click here' and 'click there'. I require a programatical way to install the extension.
For example, can I just copy files in some directories in the firefox' profile folder or something?
I cannot use the suggested web-ext
tool, as the firefox instance is started by selenium itself.
Thanks a lot
Hi @alex4200 if you use Selenium, it has support for adding e extension. What flavour of Selenium are you using? In NodeJS you do it like this: https://github.com/sitespeedio/browsertime/blob/master/lib/firefox/webdriver/index.js#L58-L61
Best Peter
Hi @soulgalore; I am using python-selenium. But at the moment I do not require this feature anymore.
Feel free to close this ticket.I can reopen it if needed...