How can I download a Firefox extension (add-on) without having it automatically installed?
Here is the problem in details:
I am using Selenium web-driver in order to do some "web-testing" stuff.
I need the Lightbeam plugin to be available on the Firefox instance that I create with Selenium.
The method (in Java) is simple:
FirefoxProfile profile = new FirefoxProfile();
profile.addExtension(new File("lightbeam.xpi"));
WebDriver webDriver = new FirefoxDriver(profile);
But I cannot find a way to download the file 'lightbeam.xpi' without having it automatically installed...
Alternatively, you can tell me where to look for the XPI file after the installation is complete.
I have not been able to find it, and I suspect that it is deleted immediately upon completion.
Thanks