All About Desired Capabilities

In this lesson, we will discuss the desired capabilities for both Chrome and Firefox and options available for them.

Introduction #

Desired capabilities is a collection of key/value pairs used to configure a particular instance of the browser. It helps to set the properties or capabilities of a WebDriver. There are browser-independent capabilities like browser name, version, acceptSslCerts, etc and browser-specific capabilities like FirefoxOptions for Mozilla Firefox, and ChromeOptions for Chrome.

Get hands-on with 1200+ tech skills courses.