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,360 points
1,997 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

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

FindElement Command -This method locates for the ...READ MORE

answered Feb 10, 2020 in Selenium by anonymous
3,522 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, 2019 in Selenium by Frankie
• 9,810 points
1,510 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
2,180 views
0 votes
2 answers

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

webDriver.switchTo().alert() it inbuild selenium only //Store the alert ...READ MORE

answered Sep 2, 2020 in Selenium by Sri
• 3,010 points
5,134 views
0 votes
2 answers

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,520 points
4,626 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,010 points
5,473 views
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,890 points
3,300 views
0 votes
2 answers
0 votes
1 answer