Running a Firebug within Selenium WebDriver (Selenium 2)

0 votes
How can I activate a Firebug in Firefox when running Selenium 2?
Apr 20, 2018 in Selenium by Martin
• 4,220 points
28 views

1 answer to this question.

0 votes

Create your profile in code and dynaically add required add-ons.

Let's assume that you saved Firebug XPI into the C:\FF_Profile folder as firebug.xpi (go to Firebug download page, right-click on the "Add To Firefox" and save as C:\FF_Profile\firebug.xpi).

Below is the code:

   final String firebugPath = "C:\\FF_Profile\\firebug.xpi";

   FirefoxProfile profile = new FirefoxProfile();       

   profile.addExtension(new File(firebugPath));

   // Add more if needed

   WebDriver driver = new FirefoxDriver(profile);

answered Apr 20, 2018 by Vardy
• 2,250 points

Related Questions In Selenium

0 votes
1 answer
0 votes
2 answers
0 votes
1 answer

I tried to open a new website when a new tab is opened using Selenium Webdriver

Try this code: ArrayList<String> tabs = new ...READ MORE

answered Mar 27, 2018 in Selenium by nsv999
• 5,090 points
897 views
0 votes
1 answer

Double click a record in a grid using Selenium webdriver

Try Actions class to perform this Actions action ...READ MORE

answered Mar 29, 2018 in Selenium by Damon Salvatore
• 5,510 points
986 views
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,090 points
568 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,130 points
895 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
559 views
0 votes
1 answer

Select an item from a dropdown list using Selenium WebDriver

Use this then it will work - new ...READ MORE

answered Apr 9, 2018 in Selenium by Vardy
• 2,250 points
2,044 views
0 votes
1 answer

JavaScript Executor using Selenium WebDriver

Its working fine but the problem in ...READ MORE

answered Apr 9, 2018 in Selenium by Vardy
• 2,250 points
209 views