What is the use of DesiredCapabilities in Selenium WebDriver?
When we want to use this and how?
Answer with example would be appreciated.
DesiredCapabilities are options that you can use to customize and configure a browser session.
DesiredCapabilities
You can read more about them here!