A structure describing the capabilities of a session. This record serves dual roles.
It's used to specify the desired capabilities for a session before it's created. In this usage, fields that are set to Nothing indicate that we have no preference for that capability.
When received from the server , it's used to describe the actual capabilities given to us by the WebDriver server. Here a value of Nothing indicates that the server doesn't support the capability. Thus, for Maybe Bool fields, both Nothing and Just False indicate a lack of support for the desired capability.
Constructors
Capabilities_capabilitiesBrowserName :: Maybe StringIdentifies the user agent.
_capabilitiesBrowserVersion :: Maybe StringIdentifies the version of the user agent.
_capabilitiesPlatformName :: Maybe PlatformIdentifies the operating system of the endpoint node.
_capabilitiesAcceptInsecureCerts :: Maybe BoolIndicates whether untrusted and self-signed TLS certificates are implicitly trusted on navigation for the duration of the session.
_capabilitiesPageLoadStrategy :: Maybe StringDefines the current session’s page load strategy.
_capabilitiesProxy :: Maybe ProxyDefines the current session’s proxy configuration.
_capabilitiesSetWindowRect :: Maybe BoolIndicates whether the remote end supports all of the commands in Resizing and Positioning Windows.
_capabilitiesTimeouts :: Maybe TimeoutsDescribes the timeouts imposed on certain session operations.
_capabilitiesUnhandledPromptBehavior :: Maybe UserPromptHandlerDescribes the current session’s user prompt handler.
_capabilitiesGoogChromeOptions :: Maybe ChromeOptionsChrome options
_capabilitiesMozFirefoxOptions :: Maybe FirefoxOptionsFirefox options
_capabilitiesWebSocketUrl :: Maybe Bool
Instances4Eq, Show, FromJSON, ToJSON
Eq CapabilitiesDefined in webdriver-0.15.0.0 · Test.WebDriver.CapabilitiesShow CapabilitiesDefined in webdriver-0.15.0.0 · Test.WebDriver.CapabilitiesFromJSON CapabilitiesDefined in webdriver-0.15.0.0 · Test.WebDriver.CapabilitiesToJSON CapabilitiesDefined in webdriver-0.15.0.0 · Test.WebDriver.Capabilities