WebDriver Capabilities

From AutoIt Wiki
Revision as of 13:12, 9 December 2021 by Water (talk | contribs)
Jump to navigation Jump to search

This page is still a work in progress.

WebDriver Capabilities

What are Capabilities?

  • Capabilities are options that you can use to customize and configure a Browser session
  • The capabilities you want to set are passed as a formatted string to function _WD_CreateSession
  • The WebDriver UDF uses the DesiredCapabilities class to pass the capabilities string to the Browser
  • Format and content of the capabilities string differ from Browser to Browser
  • Some capabilities are read-only, some are read-write

Chrome

Link to the documentation of Capabilities for Chrome.

Examples

Firefox

Link to the documentation of Capabilities for Firefox.

Examples

Edge

Link to the documentation of Capabilities for Chrome.

Examples

WD_Capabilities UDF

examples with the full capabilities string and the WD_Capabilites functions to create it