when I run my test in selenium, the newly opened firefox window is opened without my installed addons like xpathchecker.
Is it possible to setup selenium so that it will use firefox with installed addons?
If you are using selenium remote control,
Then when you start selenium, use
-firefoxProfileTemplate "path to the profile"
to specify the location of the profile with addons installed.
Just to add. When running RC from java you can use:
RemoteControlConfiguration server_preferences = new RemoteControlConfiguration();
File f = new File('/home/user/.mozilla/firefox/qa/'); // 'qa' is my profile folder name
server_preferences.setFirefoxProfileTemplate(f);
(...)
myServer = new SeleniumServer(server_preferences);
myServer.start();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With