What is the default profile for Selenium WebDriver?

0 votes

What is the default profile for Selenium WebDriver when we use FireFox. 

If I used the default Firefox profile, and if I to disable a firefox plugin, then it will be disabled for Selenium WebDriver also? What is the reason for this?

May 14, 2018 in Selenium by darklord
• 6,140 points
328 views

1 answer to this question.

0 votes

While using Firefox in Selenium WebDriver 3.0, it will start a default profile automatically.

But, you can create your own profile and you can name it according to your choice.

Then you can use the below code:

 Profiles profile = new Profiles();
 FirefoxProfile fprofile = profile.getProfile("MyProfile");
 WebDriver driver = new FirefoxDriver(fprofile);

Using this your Firefox Profile will start with a new profile always. You can change the settings according to your choice.

answered May 14, 2018 by Meci Matt
• 9,400 points

Related Questions In Selenium

0 votes
1 answer

What is the difference between findElement and findElements in Selenium Webdriver?

Hi Nilaabh, Selenium Webdriver uses findElement and ...READ MORE

answered May 8 in Selenium by Anvi
• 10,310 points
112 views
+1 vote
1 answer

What is the working of JSON in Selenium Webdriver Architecture?

JSON stands for JavaScript Object Notation. It is used ...READ MORE

answered May 8 in Selenium by Frankie
• 9,810 points
35 views
0 votes
1 answer

What is Xpath and what are the types of it in Selenium Webdriver?

Hi Piyush, XPath is defined as XML path. It is ...READ MORE

answered May 8 in Selenium by Pratibha
• 2,740 points
80 views
0 votes
1 answer
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,050 points
258 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
625 views
0 votes
1 answer