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?
Thanks.
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.