Question: what is desired capabilities in selenium for chrome?
Answer: Desired capabilities class is used to modify multiple properties of web driver. Desired Capabilities class provides a set of key-value pairs to change individual properties of web driver such as browser name, browser platform, etc. Most commonly used method of Desired Capabilities class is setCapability method.