I am relatively new to selenium webdriver.
I wanted to know what is the main difference between Desiredcapabilities vs Chromeoptions?
In which situation to use them?
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It only takes a minute to sign up.Sign up to join this community
This link will answer your question. Basically, it says:
Capabilities are options that you can use to customize and configure a ChromeDriver session. This page documents all ChromeDriver supported capabilities and how to use them.
There are two ways to specify capabilities.