Question: why do we use desired capabilities in selenium?
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.