Question: what is use of desired capabilities in selenium webdriver?
Answer: The desired capability is a series of key/value pairs that stores the browser properties like browsername, browser version, the path of the browser driver in the system, etc. to determine the behaviour of the browser at run time.