Question: why to use desired capabilities in selenium webdriver?
Answer: Desired Capabilities in Selenium Testing With Examples. Desired Capabilities is a class used to declare a set of basic requirements such as combinations of browsers, operating systems, browser versions, etc. to perform automated cross browser testing of a web application.