Module Webdriver_cohttp_async.Capabilities
The requested capabilities when creating a new session.
type t= jsonA json describing the required capabilities for the session.
val chrome : tThe default
chromeconfiguration:{ "capabilities": { "firstMatch": [{ "browser_name": "chrome" } ] } }
val firefox : tThe default
firefoxconfiguration:{ "capabilities": { "firstMatch": [{ "browser_name": "firefox" } ] } }
val firefox_headless : tSame as
firefox, but runs in the background without a graphical window:{ "capabilities": { "firstMatch": [{ "browser_name": "firefox", "moz:firefoxOptions": { "args": ["-headless"] } } ] } }