Selenium WebDriver Java Framework Course Limited Time Offer for $20

Selenium WebDriver Java Framework Course Limited Time Offer for $20

 

Print

Create Custom Firefox Profile for Selenium Web Driver

When Firefox is launched with Selenium Web Driver by default, certain plug-ins such as Firebug, Cookie Manager, and Selenium IDE  will not be available. Sometimes, we need to use these plug ins when debugging selenium tests. Therefore, creating custom profile on Firefox and launching web driver with the custom profile is essential for some cases. Here, I will explain how to create Firefox custom profile and use it with Selenium Web Driver. 

 

1. On Windows Start Menu, search for the Run command, and then enter "firefox.exe -p"  and then click on "OK" button. 
2. On the Choose User Profile window, click on "Create Profile" button. 
3. on the Create Profile Wizard window, click on Next button. 
4. Enter a name for the profile. For example, "WebDriveProfile". 
5. Click on the Finish button to complete the profile. 
6. Select the profile just created and click on the "Start Firefox" button. 
7. Firefox is launched with the custom profile. 
8. Search for the Firebug on Google. 
9. Add Firebug extension
10. Firebug is installed. 
11. Install Selenium IDE
12. Both the Firebug and Selenium IDE are on the Tools menu of Firefox. 
13. When we start Firefox, we can see Firebug icon on the right top corner of the browser. We can start Web Driver with this custom Firefox Profile.