Integrate Firebug with WebDriver Window - Bug Reaper

                  Bug Reaper

Lean about Automation Testing,Selenium WebDriver,RestAssured,Appium,Jenkins,JAVA,API Automation,TestNG,Maven, Rest API, SOAP API,Linux,Maven,Security Testing,Interview Questions

Tuesday 24 September 2013

Integrate Firebug with WebDriver Window

When We Run Selenium WebDriver , the WebDriver Window does not have Firebug in it.
To Launch Firebug in WebDriver window we can use the following Snippet.


 FirefoxProfile profile = new FirefoxProfile();       
 profile.addExtension(new File("C:\\Users\\neeraj\\Downloads\\firebug-1.8.4.xpi"));                
 WebDriver driver=new FirefoxDriver(profile);
 driver.navigate().to("https://accounts.google.com");

No comments:

Post a Comment