RE: extensions like firebug added through webdriver is deactivated.how to activate it?

extensions like firebugĀ  added through webdriver is deactivated.how to activate it?

rajan Train Asked on December 10, 2014 in Selenium WebDriver.
Add Comment
2 Answers

Hi Rajan,

You must have messed up with your default firefox profile. Browser opened by Selenium will not have any extra plugins. Look at this article and set it back to default profile:

http://www.toolsqa.com/selenium-webdriver/custom-firefox-profile/

Regards,
Lakshay Sharma

Professor Answered on December 10, 2014.

ya selenium hasn’t any extra plugin but i have added plugin through program.Here plugin got added bhut not working.Please suggest?Below is the code:
public class AddfirebugTest {
@Test

public class AddFirebug {

publicĀ  void Fire() throws IOException {
File file=new File(“firebug-2.0.7-fx.xpi”);
FirefoxProfile profile=new FirefoxProfile();
profile.addExtension(file);
WebDriver driver=new FirefoxDriver(profile);
driver.get(“https://www.google.co.in/”);
}

}

on December 10, 2014.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.