Total Pageviews

Tuesday 2 September 2014

How to launch the fire fox browser with firebug

Topic: How to launch the fire fox browser with firebug

step1 :you saved Firebug XPI into the C:\FF_Profile folder
step2 :as firebug.xpi (go to Firebug download page, right-click on the "Download Now "
step 3:save as C:\FF_Profile\firebug.xpi

then run the bello code.. in java class.........

final String firebugPath = "C:\\FF_Profile\\firebug.xpi";
FirefoxProfile profile = new FirefoxProfile();
profile.addExtension(new File(firebugPath));
WebDriver driver = new FirefoxDriver(profile);
driver.get("http://ftindia.com/");

No comments:

Post a Comment