Wednesday, February 4, 2015

How to Enable Firebug in the Mozilla session started by Webdriver

Download the firebug xpi file from mozilla and start the profile as follows:

   File file = new File("firebug-1.8.1.xpi");
   FirefoxProfile firefoxProfile = new FirefoxProfile();
   firefoxProfile.addExtension(file);
   firefoxProfile.setPreference("extensions.firebug.currentVersion", "1.8.1"); // Avoid startup screen

   WebDriver driver = new FirefoxDriver(firefoxProfile);

Handle Race Condition in Alerts with Webdriver 
How FirefoxDriver opens Firefox Browser 
A beta features which makes Firefox Faster 
How FirefoxDriver Executes the Selenium Commands 

No comments:

Post a Comment