4

Can somebody tell me the difference between the DesiredCapabilities vs RequiredCapabilities in RemoteWebDriver constructor?

Here is the link for the constructor: http://selenium.googlecode.com/git/docs/api/java/org/openqa/selenium/remote/RemoteWebDriver.html#RemoteWebDriver(java.net.URL,%20org.openqa.selenium.Capabilities,%20org.openqa.selenium.Capabilities)

javanoob
  • 6,070
  • 16
  • 65
  • 88

2 Answers2

1

Currently you needn't worry about the requiredCapabilities, because it's been deprecated in Selenium v3.4.0.

sri
  • 801
  • 9
  • 10
0

For the benefit of those who find this question and still haven't found the answer, please look at this answer by Andrew Regan to the same question asked again slightly differently by Dev Raj.

I haven't seen any one use it or any blog posts - so far - (I haven't gone out in search of one, but the usual ones I read) never mentioned this constructor with requiredCapabilities. So, it seems to be a less popular feature that is available!

Community
  • 1
  • 1
raluru
  • 106
  • 6