What are different types of Desired Capabilities methods in Selenium

0 votes
What are different types of Desired Capabilities methods in Selenium?
Jun 25, 2019 in Selenium by Ritvik
547 views

1 answer to this question.

0 votes

Hello Ritvik, some of the desired capabilities methods are:

1. getBrowserName():

public String getBrowserName()

2. setBrowserName():

public void setBrowserName(String browserName)

3. getVersion():

public String getVersion()

4. setVersion():

public void setVersion(String version)

5. getPlatform():

public Platform getPlatform()

6. setPlatform():

public void setPlatform(Platform platform)

7. getCapability():

public Object getCapability()

8. setCapability():

void setCapability(String capabilityName, boolean value)
answered Jun 26, 2019 by Yukta

Related Questions In Selenium

0 votes
1 answer

What are locators in Selenium and what are the different types of it?

Hi Divya, in Selenium Locators define an ...READ MORE

answered May 7, 2019 in Selenium by Abha
• 28,140 points
2,368 views
0 votes
1 answer

What are the types of Assertion in Selenium?

In selenium Assertion is nothing but a ...READ MORE

answered Feb 11, 2019 in Selenium by Fred
1,944 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 9, 2019 in Selenium by Pratibha
• 3,690 points
5,084 views
0 votes
1 answer

What are desired capabilities in Selenium?

Hey Varun, Desired Capabilities are used to configure ...READ MORE

answered Jun 25, 2019 in Selenium by Deepak
1,285 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,500 points
12,709 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,190 points
8,607 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,910 points
6,680 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 3, 2020 in Selenium by Sri
• 3,190 points
7,550 views
0 votes
1 answer

What are the different types of TestNG listeners in Selenium Webdriver?

Hello Jagrati, some of the TestNG listeners ...READ MORE

answered Jun 12, 2019 in Selenium by Anvi
• 14,150 points
1,627 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP