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 Sahiti
• 6,290 points
910 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,460 points

Related Questions In Selenium

+1 vote
2 answers
+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, 2019 in Selenium by Frankie
• 9,810 points
634 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, 2019 in Selenium by Pratibha
• 3,690 points
485 views
0 votes
1 answer

What is the best way to handle a Javascript popup using Selenium Webdriver?

Hello Dimple, the simplest way to handle ...READ MORE

answered May 10, 2019 in Selenium by Pratibha
• 3,690 points
1,539 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,510 points
2,142 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,870 points
1,788 views
0 votes
2 answers
0 votes
1 answer