webdriver-precore
Safe HaskellNone
LanguageHaskell2010

WebDriverPreCore.HTTP.Protocol

Description

This module defines the Command type and related types/functions for HTTP commands referenced by the API functions in WebDriverPreCore.HTTP.API

WebDriverPreCore.HTTP.API contains functions that generate the payload for each HTTP command and is the main interface for users of this package to interact with the WebDriver HTTP protocol.

An example of using these modules to implement a basic HTTP client can be found in the test repository for this package.

Synopsis

Command

data Command (r :: k) Source #

The Command type is a specification for a WebDriver Http command. Every endpoint function in this module returns a Command object which defines the HTTP method, URL path, and request body (if applicable) for the command. The phantom type parameter r represents the expected response type for the command. In practice, this r type will always have a FromJSON instance which can be used to parse the result from the response body.

Constructors

Get 

Fields

Post 

Fields

PostEmpty 

Fields

Delete 

Fields

Instances

Instances details
Show (Command r) Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Command

Methods

showsPrec :: Int -> Command r -> ShowS #

show :: Command r -> String #

showList :: [Command r] -> ShowS #

Eq (Command r) Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Command

Methods

(==) :: Command r -> Command r -> Bool #

(/=) :: Command r -> Command r -> Bool #

Constructors

The following constructors are utility functions that partially applied in WebDriverPreCore.HTTP.API to generate specific named command functions for POST requests. Although these functions form the basis of many commands in the WebDriverPreCore.HTTP.API, it would be unusual to need to use these directly.

mkPost :: forall {k} a (r :: k). ToJSON a => Text -> UrlPath -> a -> Command r Source #

Creates a Post command with the given description, path, and body.

The body parameter must be an instance of ToJSON and encode to a JSON Object type. This function is partially applied in WebDriverPreCore.HTTP.API to generate specific named command functions.

If the body cannot be converted to a JSON Object, an error is thrown with the description included in the error message.

mkPost' :: forall {k} a (r :: k). Text -> UrlPath -> (a -> Object) -> a -> Command r Source #

Creates a Post command with the given description, path, and a custom parser function.

This is a more flexible version of mkPost that allows you to provide a custom function to convert the input parameter to a JSON Object. This is useful when you need more control over the serialization process.

Fallback Constructors

The following constructors are provided to modify or create new commands that are not directly supported by the WebDriverPreCore.HTTP.API. These constructors provide a means by which users can work around defects in this package or defects in driver implementation as well as handling driver specific extensions to the HTTP protocol.

voidCommand :: forall {k} (a :: k). Command a -> Command () Source #

Changes the expected response type of a Command to (), indicating that the response should be ignored.

This is useful for commands where you only care about the side effects and not the response value.

loosenCommand :: forall {k} (r :: k). Command r -> Command Value Source #

Changes the expected response type of a Command to a generic JSON Value.

This is a specialization of coerceCommand that loosens the type constraint, allowing you to handle responses in a more flexible way when the exact response structure is not known or not needed.

coerceCommand :: forall {k1} {k2} (r :: k1) (r' :: k2). Command r -> Command r' Source #

Changes the expected response type of a Command to a different type.

This function preserves the HTTP method, path, and request body while only changing the phantom type parameter. It can be used to adapt a command when you need a different response type than what the command originally specified.

extendPost :: forall {k} (r :: k). Command r -> Object -> Command r Source #

Extends the request body of a Post or PostEmpty command with additional fields from a JSON Object, preserving the expected response type.

For Post commands, the additional fields are merged with the existing body. For PostEmpty commands, the additional fields become the new body. Attempting to use this with Get or Delete commands will result in a runtime error.

extendPostLoosen :: forall {k} (r :: k). Command r -> Object -> Command Value Source #

Extends the request body of a Post or PostEmpty command with additional fields from a JSON Object, changing the expected response type to a generic JSON Value.

For Post commands, the additional fields are merged with the existing body. For PostEmpty commands, the additional fields become the new body. Attempting to use this with Get or Delete commands will result in a runtime error.

Capabilities

data FullCapabilities Source #

FullCapabilities is the object that is passed to webdriver to define the properties of the session via the newSession function. It is a combination of alwaysMatch and firstMatch properties.

spec

See also: Capabilities and related constructors such as minCapabilities, minFullCapabilities, minFirefoxCapabilities and minChromeCapabilities

Constructors

MkFullCapabilities 

Fields

Instances

Instances details
FromJSON FullCapabilities Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

ToJSON FullCapabilities Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Generic FullCapabilities Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Associated Types

type Rep FullCapabilities 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep FullCapabilities = D1 ('MetaData "FullCapabilities" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkFullCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "alwaysMatch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Capabilities)) :*: S1 ('MetaSel ('Just "firstMatch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Capabilities])))
Show FullCapabilities Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep FullCapabilities Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep FullCapabilities = D1 ('MetaData "FullCapabilities" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkFullCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "alwaysMatch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Capabilities)) :*: S1 ('MetaSel ('Just "firstMatch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Capabilities])))

data Capabilities Source #

Capabilities define the properties of the session and are passed to the webdriver via fields of the FullCapabilities object.

spec

See also: FullCapabilities and related constructors such as: minCapabilities, minFullCapabilities, minFirefoxCapabilities and minChromeCapabilities

Instances

Instances details
FromJSON Capabilities Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

ToJSON Capabilities Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Generic Capabilities Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Associated Types

type Rep Capabilities 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep Capabilities = D1 ('MetaData "Capabilities" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkCapabilities" 'PrefixI 'True) (((S1 ('MetaSel ('Just "browserName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BrowserName)) :*: (S1 ('MetaSel ('Just "browserVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "platformName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PlatformName)))) :*: (S1 ('MetaSel ('Just "acceptInsecureCerts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "pageLoadStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PageLoadStrategy)) :*: S1 ('MetaSel ('Just "proxy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Proxy))))) :*: ((S1 ('MetaSel ('Just "setWindowRect") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "timeouts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Timeouts)) :*: S1 ('MetaSel ('Just "strictFileInteractability") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "unhandledPromptBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UnhandledPromptBehavior)) :*: (S1 ('MetaSel ('Just "webSocketUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "vendorSpecific") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VendorSpecific)))))))
Show Capabilities Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Eq Capabilities Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep Capabilities Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep Capabilities = D1 ('MetaData "Capabilities" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkCapabilities" 'PrefixI 'True) (((S1 ('MetaSel ('Just "browserName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BrowserName)) :*: (S1 ('MetaSel ('Just "browserVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "platformName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PlatformName)))) :*: (S1 ('MetaSel ('Just "acceptInsecureCerts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "pageLoadStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PageLoadStrategy)) :*: S1 ('MetaSel ('Just "proxy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Proxy))))) :*: ((S1 ('MetaSel ('Just "setWindowRect") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "timeouts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Timeouts)) :*: S1 ('MetaSel ('Just "strictFileInteractability") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "unhandledPromptBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UnhandledPromptBehavior)) :*: (S1 ('MetaSel ('Just "webSocketUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "vendorSpecific") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VendorSpecific)))))))

data UnhandledPromptBehavior Source #

Instances

Instances details
FromJSON UnhandledPromptBehavior Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

ToJSON UnhandledPromptBehavior Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Bounded UnhandledPromptBehavior Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Enum UnhandledPromptBehavior Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Generic UnhandledPromptBehavior Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Associated Types

type Rep UnhandledPromptBehavior 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep UnhandledPromptBehavior = D1 ('MetaData "UnhandledPromptBehavior" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) ((C1 ('MetaCons "Dismiss" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Accept" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DismissAndNotify" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "AcceptAndNotify" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Ignore" 'PrefixI 'False) (U1 :: Type -> Type))))
Show UnhandledPromptBehavior Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Eq UnhandledPromptBehavior Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep UnhandledPromptBehavior Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep UnhandledPromptBehavior = D1 ('MetaData "UnhandledPromptBehavior" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) ((C1 ('MetaCons "Dismiss" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Accept" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DismissAndNotify" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "AcceptAndNotify" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Ignore" 'PrefixI 'False) (U1 :: Type -> Type))))

data PageLoadStrategy Source #

Constructors

None' 
Eager 
Normal 

Instances

Instances details
FromJSON PageLoadStrategy Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

ToJSON PageLoadStrategy Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Bounded PageLoadStrategy Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Enum PageLoadStrategy Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Generic PageLoadStrategy Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Associated Types

type Rep PageLoadStrategy 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep PageLoadStrategy = D1 ('MetaData "PageLoadStrategy" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "None'" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Eager" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Normal" 'PrefixI 'False) (U1 :: Type -> Type)))
Show PageLoadStrategy Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Eq PageLoadStrategy Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep PageLoadStrategy Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep PageLoadStrategy = D1 ('MetaData "PageLoadStrategy" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "None'" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Eager" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Normal" 'PrefixI 'False) (U1 :: Type -> Type)))

data BrowserName Source #

Instances

Instances details
FromJSON BrowserName Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

ToJSON BrowserName Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Bounded BrowserName Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Enum BrowserName Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Generic BrowserName Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Associated Types

type Rep BrowserName 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep BrowserName = D1 ('MetaData "BrowserName" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) ((C1 ('MetaCons "Chrome" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Firefox" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Safari" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Edge" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InternetExplorer" 'PrefixI 'False) (U1 :: Type -> Type))))
Show BrowserName Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Eq BrowserName Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep BrowserName Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep BrowserName = D1 ('MetaData "BrowserName" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) ((C1 ('MetaCons "Chrome" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Firefox" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Safari" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Edge" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InternetExplorer" 'PrefixI 'False) (U1 :: Type -> Type))))

data PlatformName Source #

Constructors

Windows 
Mac 
Linux 
Android 
IOS 

Instances

Instances details
FromJSON PlatformName Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

ToJSON PlatformName Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Bounded PlatformName Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Enum PlatformName Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Generic PlatformName Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Associated Types

type Rep PlatformName 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep PlatformName = D1 ('MetaData "PlatformName" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) ((C1 ('MetaCons "Windows" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Mac" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Linux" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Android" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IOS" 'PrefixI 'False) (U1 :: Type -> Type))))
Show PlatformName Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Eq PlatformName Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep PlatformName Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep PlatformName = D1 ('MetaData "PlatformName" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) ((C1 ('MetaCons "Windows" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Mac" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Linux" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Android" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IOS" 'PrefixI 'False) (U1 :: Type -> Type))))

data VendorSpecific Source #

Instances

Instances details
ToJSON VendorSpecific Source #

ToJSON Instance for VendorSpecific

Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Generic VendorSpecific Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Associated Types

type Rep VendorSpecific 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep VendorSpecific = D1 ('MetaData "VendorSpecific" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) ((C1 ('MetaCons "ChromeOptions" 'PrefixI 'True) (((S1 ('MetaSel ('Just "chromeArgs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "chromeBinary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "chromeExtensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "chromeLocalState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Map Text Value))) :*: (S1 ('MetaSel ('Just "chromeMobileEmulation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MobileEmulation)) :*: S1 ('MetaSel ('Just "chromePrefs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Map Text Value)))))) :*: ((S1 ('MetaSel ('Just "chromeDetach") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "chromeDebuggerAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "chromeExcludeSwitches") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "chromeMinidumpPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FilePath)) :*: (S1 ('MetaSel ('Just "chromePerfLoggingPrefs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PerfLoggingPrefs)) :*: S1 ('MetaSel ('Just "chromeWindowTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))) :+: C1 ('MetaCons "EdgeOptions" 'PrefixI 'True) (((S1 ('MetaSel ('Just "edgeArgs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "edgeBinary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "edgeExtensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "edgeLocalState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Map Text Value))) :*: (S1 ('MetaSel ('Just "edgeMobileEmulation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MobileEmulation)) :*: S1 ('MetaSel ('Just "edgePrefs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Map Text Value)))))) :*: ((S1 ('MetaSel ('Just "edgeDetach") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "edgeDebuggerAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "edgeExcludeSwitches") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "edgeMinidumpPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FilePath)) :*: (S1 ('MetaSel ('Just "edgePerfLoggingPrefs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PerfLoggingPrefs)) :*: S1 ('MetaSel ('Just "edgeWindowTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))))) :+: (C1 ('MetaCons "FirefoxOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "firefoxArgs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "firefoxBinary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "firefoxProfile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "firefoxLog") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LogSettings)))) :+: C1 ('MetaCons "SafariOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "safariAutomaticInspection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "safariAutomaticProfiling") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))
Show VendorSpecific Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Eq VendorSpecific Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep VendorSpecific Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep VendorSpecific = D1 ('MetaData "VendorSpecific" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) ((C1 ('MetaCons "ChromeOptions" 'PrefixI 'True) (((S1 ('MetaSel ('Just "chromeArgs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "chromeBinary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "chromeExtensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "chromeLocalState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Map Text Value))) :*: (S1 ('MetaSel ('Just "chromeMobileEmulation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MobileEmulation)) :*: S1 ('MetaSel ('Just "chromePrefs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Map Text Value)))))) :*: ((S1 ('MetaSel ('Just "chromeDetach") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "chromeDebuggerAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "chromeExcludeSwitches") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "chromeMinidumpPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FilePath)) :*: (S1 ('MetaSel ('Just "chromePerfLoggingPrefs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PerfLoggingPrefs)) :*: S1 ('MetaSel ('Just "chromeWindowTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))) :+: C1 ('MetaCons "EdgeOptions" 'PrefixI 'True) (((S1 ('MetaSel ('Just "edgeArgs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "edgeBinary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "edgeExtensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "edgeLocalState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Map Text Value))) :*: (S1 ('MetaSel ('Just "edgeMobileEmulation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MobileEmulation)) :*: S1 ('MetaSel ('Just "edgePrefs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Map Text Value)))))) :*: ((S1 ('MetaSel ('Just "edgeDetach") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "edgeDebuggerAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "edgeExcludeSwitches") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "edgeMinidumpPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FilePath)) :*: (S1 ('MetaSel ('Just "edgePerfLoggingPrefs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PerfLoggingPrefs)) :*: S1 ('MetaSel ('Just "edgeWindowTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))))) :+: (C1 ('MetaCons "FirefoxOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "firefoxArgs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "firefoxBinary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "firefoxProfile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "firefoxLog") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LogSettings)))) :+: C1 ('MetaCons "SafariOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "safariAutomaticInspection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "safariAutomaticProfiling") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

data SocksProxy Source #

Constructors

MkSocksProxy 

Instances

Instances details
FromJSON SocksProxy Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

ToJSON SocksProxy Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Generic SocksProxy Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Associated Types

type Rep SocksProxy 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep SocksProxy = D1 ('MetaData "SocksProxy" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSocksProxy" 'PrefixI 'True) (S1 ('MetaSel ('Just "socksProxy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "socksVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))
Show SocksProxy Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Eq SocksProxy Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep SocksProxy Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep SocksProxy = D1 ('MetaData "SocksProxy" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSocksProxy" 'PrefixI 'True) (S1 ('MetaSel ('Just "socksProxy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "socksVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

data Timeouts Source #

Timeouts in milliseconds spec

Constructors

MkTimeouts 

Instances

Instances details
FromJSON Timeouts Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

ToJSON Timeouts Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Generic Timeouts Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Associated Types

type Rep Timeouts 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep Timeouts = D1 ('MetaData "Timeouts" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkTimeouts" 'PrefixI 'True) (S1 ('MetaSel ('Just "implicit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "pageLoad") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "script") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

Methods

from :: Timeouts -> Rep Timeouts x #

to :: Rep Timeouts x -> Timeouts #

Show Timeouts Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Eq Timeouts Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep Timeouts Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep Timeouts = D1 ('MetaData "Timeouts" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkTimeouts" 'PrefixI 'True) (S1 ('MetaSel ('Just "implicit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "pageLoad") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "script") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

data PerfLoggingPrefs Source #

Instances

Instances details
FromJSON PerfLoggingPrefs Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

ToJSON PerfLoggingPrefs Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Generic PerfLoggingPrefs Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Associated Types

type Rep PerfLoggingPrefs 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep PerfLoggingPrefs = D1 ('MetaData "PerfLoggingPrefs" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkPerfLoggingPrefs" 'PrefixI 'True) ((S1 ('MetaSel ('Just "enableNetwork") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "enablePage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "enableTimeline") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "traceCategories") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "bufferUsageReportingInterval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))))
Show PerfLoggingPrefs Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Eq PerfLoggingPrefs Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep PerfLoggingPrefs Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep PerfLoggingPrefs = D1 ('MetaData "PerfLoggingPrefs" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkPerfLoggingPrefs" 'PrefixI 'True) ((S1 ('MetaSel ('Just "enableNetwork") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "enablePage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "enableTimeline") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "traceCategories") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "bufferUsageReportingInterval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))))

data MobileEmulation Source #

Instances

Instances details
FromJSON MobileEmulation Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

ToJSON MobileEmulation Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Generic MobileEmulation Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Associated Types

type Rep MobileEmulation 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep MobileEmulation = D1 ('MetaData "MobileEmulation" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkMobileEmulation" 'PrefixI 'True) (S1 ('MetaSel ('Just "deviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "deviceMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeviceMetrics)) :*: S1 ('MetaSel ('Just "userAgent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))
Show MobileEmulation Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Eq MobileEmulation Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep MobileEmulation Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep MobileEmulation = D1 ('MetaData "MobileEmulation" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkMobileEmulation" 'PrefixI 'True) (S1 ('MetaSel ('Just "deviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "deviceMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeviceMetrics)) :*: S1 ('MetaSel ('Just "userAgent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

data LogLevel Source #

Browser log levels as defined in vendor specs

Constructors

Trace

Most verbose logging

Debug

Debug-level information

Config

Configuration details

Info

General operational logs

Warning

Potential issues

Error

Recoverable errors

Fatal

Critical failures

Off

No logging

Instances

Instances details
FromJSON LogLevel Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

ToJSON LogLevel Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Bounded LogLevel Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Enum LogLevel Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Generic LogLevel Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Associated Types

type Rep LogLevel 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep LogLevel = D1 ('MetaData "LogLevel" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (((C1 ('MetaCons "Trace" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Debug" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Config" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Info" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "Warning" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Error" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Fatal" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Off" 'PrefixI 'False) (U1 :: Type -> Type))))

Methods

from :: LogLevel -> Rep LogLevel x #

to :: Rep LogLevel x -> LogLevel #

Show LogLevel Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Eq LogLevel Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep LogLevel Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep LogLevel = D1 ('MetaData "LogLevel" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (((C1 ('MetaCons "Trace" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Debug" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Config" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Info" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "Warning" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Error" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Fatal" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Off" 'PrefixI 'False) (U1 :: Type -> Type))))

data LogSettings Source #

Log settings structure for vendor capabilities

Constructors

MkLogSettings 

Fields

Instances

Instances details
FromJSON LogSettings Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

ToJSON LogSettings Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Generic LogSettings Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Associated Types

type Rep LogSettings 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep LogSettings = D1 ('MetaData "LogSettings" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkLogSettings" 'PrefixI 'True) (S1 ('MetaSel ('Just "level") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LogLevel)))
Show LogSettings Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Eq LogSettings Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep LogSettings Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep LogSettings = D1 ('MetaData "LogSettings" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkLogSettings" 'PrefixI 'True) (S1 ('MetaSel ('Just "level") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LogLevel)))

data DeviceMetrics Source #

Constructors

MkDeviceMetrics 

Fields

Instances

Instances details
FromJSON DeviceMetrics Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

ToJSON DeviceMetrics Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Generic DeviceMetrics Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Associated Types

type Rep DeviceMetrics 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep DeviceMetrics = D1 ('MetaData "DeviceMetrics" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkDeviceMetrics" 'PrefixI 'True) ((S1 ('MetaSel ('Just "width") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "height") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "pixelRatio") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double) :*: S1 ('MetaSel ('Just "touch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))))
Show DeviceMetrics Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

Eq DeviceMetrics Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep DeviceMetrics Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Capabilities

type Rep DeviceMetrics = D1 ('MetaData "DeviceMetrics" "WebDriverPreCore.HTTP.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkDeviceMetrics" 'PrefixI 'True) ((S1 ('MetaSel ('Just "width") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "height") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "pixelRatio") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double) :*: S1 ('MetaSel ('Just "touch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))))

Capability Utility Functions

alwaysMatchCapabilities :: Capabilities -> FullCapabilities Source #

Returns the minimal FullCapabilities object where the firstMatch property is empty.

It is very common for alwaysMatch to be the only field populated and the firstMatch field to be empty.

spec

minCapabilities :: BrowserName -> Capabilities Source #

Returns the minimal Capabilities object for a given browser The browserName is the only field populated spec

minFullCapabilities :: BrowserName -> FullCapabilities Source #

Returns the minimal FullCapabilities object for a given browser The browserName in the alwaysMatch field is the only field populated spec

minFirefoxCapabilities :: FullCapabilities Source #

Returns the minimal FullCapabilities object for Firefox

minChromeCapabilities :: FullCapabilities Source #

Returns the minimal FullCapabilities object for Chrome

Error

data WebDriverException Source #

Instances

Instances details
Exception WebDriverException Source # 
Instance details

Defined in WebDriverPreCore.Error

Generic WebDriverException Source # 
Instance details

Defined in WebDriverPreCore.Error

Associated Types

type Rep WebDriverException 
Instance details

Defined in WebDriverPreCore.Error

type Rep WebDriverException = D1 ('MetaData "WebDriverException" "WebDriverPreCore.Error" "webdriver-precore-0.2.0.0-inplace" 'False) ((C1 ('MetaCons "ResponseParseException" 'PrefixI 'True) (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "response") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Value)) :+: C1 ('MetaCons "UnrecognisedErrorTypeException" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "response") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Value))) :+: (C1 ('MetaCons "JSONEncodeException" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSONEncodeException)) :+: C1 ('MetaCons "ProtocolException" 'PrefixI 'True) ((S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ErrorType) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "stacktrace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "errorData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value)) :*: S1 ('MetaSel ('Just "response") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Value))))))
Show WebDriverException Source # 
Instance details

Defined in WebDriverPreCore.Error

Eq WebDriverException Source # 
Instance details

Defined in WebDriverPreCore.Error

Ord WebDriverException Source # 
Instance details

Defined in WebDriverPreCore.Error

type Rep WebDriverException Source # 
Instance details

Defined in WebDriverPreCore.Error

type Rep WebDriverException = D1 ('MetaData "WebDriverException" "WebDriverPreCore.Error" "webdriver-precore-0.2.0.0-inplace" 'False) ((C1 ('MetaCons "ResponseParseException" 'PrefixI 'True) (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "response") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Value)) :+: C1 ('MetaCons "UnrecognisedErrorTypeException" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "response") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Value))) :+: (C1 ('MetaCons "JSONEncodeException" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSONEncodeException)) :+: C1 ('MetaCons "ProtocolException" 'PrefixI 'True) ((S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ErrorType) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "stacktrace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "errorData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value)) :*: S1 ('MetaSel ('Just "response") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Value))))))

data ErrorType Source #

Known WevDriver Error Types

spec

Instances

Instances details
FromJSON ErrorType Source # 
Instance details

Defined in WebDriverPreCore.Error

Bounded ErrorType Source # 
Instance details

Defined in WebDriverPreCore.Error

Enum ErrorType Source # 
Instance details

Defined in WebDriverPreCore.Error

Read ErrorType Source # 
Instance details

Defined in WebDriverPreCore.Error

Show ErrorType Source # 
Instance details

Defined in WebDriverPreCore.Error

Eq ErrorType Source # 
Instance details

Defined in WebDriverPreCore.Error

Ord ErrorType Source # 
Instance details

Defined in WebDriverPreCore.Error

data JSONEncodeException Source #

Constructors

MkJSONEncodeException 

Fields

Instances

Instances details
FromJSON JSONEncodeException Source # 
Instance details

Defined in WebDriverPreCore.Error

Generic JSONEncodeException Source # 
Instance details

Defined in WebDriverPreCore.Error

Associated Types

type Rep JSONEncodeException 
Instance details

Defined in WebDriverPreCore.Error

type Rep JSONEncodeException = D1 ('MetaData "JSONEncodeException" "WebDriverPreCore.Error" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkJSONEncodeException" 'PrefixI 'True) (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "responseText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
Show JSONEncodeException Source # 
Instance details

Defined in WebDriverPreCore.Error

Eq JSONEncodeException Source # 
Instance details

Defined in WebDriverPreCore.Error

Ord JSONEncodeException Source # 
Instance details

Defined in WebDriverPreCore.Error

type Rep JSONEncodeException Source # 
Instance details

Defined in WebDriverPreCore.Error

type Rep JSONEncodeException = D1 ('MetaData "JSONEncodeException" "WebDriverPreCore.Error" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkJSONEncodeException" 'PrefixI 'True) (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "responseText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

Core Types

data Status Source #

Constructors

MkStatus 

Fields

Instances

Instances details
FromJSON Status Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

ToJSON Status Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Generic Status Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Associated Types

type Rep Status 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

type Rep Status = D1 ('MetaData "Status" "WebDriverPreCore.HTTP.Protocol" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkStatus" 'PrefixI 'True) (S1 ('MetaSel ('Just "ready") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

Methods

from :: Status -> Rep Status x #

to :: Rep Status x -> Status #

Show Status Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Eq Status Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Methods

(==) :: Status -> Status -> Bool #

(/=) :: Status -> Status -> Bool #

type Rep Status Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

type Rep Status = D1 ('MetaData "Status" "WebDriverPreCore.HTTP.Protocol" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkStatus" 'PrefixI 'True) (S1 ('MetaSel ('Just "ready") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newtype ElementId Source #

Constructors

MkElement 

Fields

Instances

Instances details
FromJSON ElementId Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

ToJSON ElementId Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Generic ElementId Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Associated Types

type Rep ElementId 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

type Rep ElementId = D1 ('MetaData "ElementId" "WebDriverPreCore.HTTP.Protocol" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkElement" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))
Show ElementId Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Eq ElementId Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

type Rep ElementId Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

type Rep ElementId = D1 ('MetaData "ElementId" "WebDriverPreCore.HTTP.Protocol" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkElement" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype ShadowRootElementId Source #

Constructors

MkShadowRootElementId 

Fields

Instances

Instances details
FromJSON ShadowRootElementId Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

ToJSON ShadowRootElementId Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Generic ShadowRootElementId Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Associated Types

type Rep ShadowRootElementId 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

type Rep ShadowRootElementId = D1 ('MetaData "ShadowRootElementId" "WebDriverPreCore.HTTP.Protocol" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkShadowRootElementId" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))
Show ShadowRootElementId Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Eq ShadowRootElementId Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

type Rep ShadowRootElementId Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

type Rep ShadowRootElementId = D1 ('MetaData "ShadowRootElementId" "WebDriverPreCore.HTTP.Protocol" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkShadowRootElementId" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data SameSite Source #

Constructors

Lax 
Strict 
None 

Instances

Instances details
FromJSON SameSite Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

ToJSON SameSite Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Generic SameSite Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Associated Types

type Rep SameSite 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

type Rep SameSite = D1 ('MetaData "SameSite" "WebDriverPreCore.HTTP.Protocol" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "Lax" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Strict" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "None" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: SameSite -> Rep SameSite x #

to :: Rep SameSite x -> SameSite #

Show SameSite Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Eq SameSite Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Ord SameSite Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

type Rep SameSite Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

type Rep SameSite = D1 ('MetaData "SameSite" "WebDriverPreCore.HTTP.Protocol" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "Lax" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Strict" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "None" 'PrefixI 'False) (U1 :: Type -> Type)))

data Script Source #

Constructors

MkScript 

Fields

Instances

Instances details
ToJSON Script Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Generic Script Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Associated Types

type Rep Script 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

type Rep Script = D1 ('MetaData "Script" "WebDriverPreCore.HTTP.Protocol" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkScript" 'PrefixI 'True) (S1 ('MetaSel ('Just "script") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "args") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Value])))

Methods

from :: Script -> Rep Script x #

to :: Rep Script x -> Script #

Show Script Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Eq Script Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Methods

(==) :: Script -> Script -> Bool #

(/=) :: Script -> Script -> Bool #

type Rep Script Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

type Rep Script = D1 ('MetaData "Script" "WebDriverPreCore.HTTP.Protocol" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkScript" 'PrefixI 'True) (S1 ('MetaSel ('Just "script") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "args") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Value])))

newtype Session Source #

Constructors

MkSession 

Fields

Instances

Instances details
Generic Session Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Associated Types

type Rep Session 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

type Rep Session = D1 ('MetaData "Session" "WebDriverPreCore.HTTP.Protocol" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkSession" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Methods

from :: Session -> Rep Session x #

to :: Rep Session x -> Session #

Show Session Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Eq Session Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Methods

(==) :: Session -> Session -> Bool #

(/=) :: Session -> Session -> Bool #

type Rep Session Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

type Rep Session = D1 ('MetaData "Session" "WebDriverPreCore.HTTP.Protocol" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkSession" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data SessionResponse Source #

Instances

Instances details
FromJSON SessionResponse Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

ToJSON SessionResponse Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Generic SessionResponse Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Associated Types

type Rep SessionResponse 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

type Rep SessionResponse = D1 ('MetaData "SessionResponse" "WebDriverPreCore.HTTP.Protocol" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSessionResponse" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sessionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Session) :*: S1 ('MetaSel ('Just "webSocketUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "capabilities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Capabilities) :*: S1 ('MetaSel ('Just "extensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Map Text Value))))))
Show SessionResponse Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Eq SessionResponse Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

type Rep SessionResponse Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

type Rep SessionResponse = D1 ('MetaData "SessionResponse" "WebDriverPreCore.HTTP.Protocol" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSessionResponse" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sessionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Session) :*: S1 ('MetaSel ('Just "webSocketUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "capabilities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Capabilities) :*: S1 ('MetaSel ('Just "extensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Map Text Value))))))

newtype Handle Source #

Constructors

MkHandle 

Fields

Instances

Instances details
FromJSON Handle Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

ToJSON Handle Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Generic Handle Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Associated Types

type Rep Handle 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

type Rep Handle = D1 ('MetaData "Handle" "WebDriverPreCore.HTTP.Protocol" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkHandle" 'PrefixI 'True) (S1 ('MetaSel ('Just "handle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Methods

from :: Handle -> Rep Handle x #

to :: Rep Handle x -> Handle #

Show Handle Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Eq Handle Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Methods

(==) :: Handle -> Handle -> Bool #

(/=) :: Handle -> Handle -> Bool #

type Rep Handle Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

type Rep Handle = D1 ('MetaData "Handle" "WebDriverPreCore.HTTP.Protocol" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkHandle" 'PrefixI 'True) (S1 ('MetaSel ('Just "handle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data WindowRect Source #

Constructors

Rect 

Fields

Instances

Instances details
FromJSON WindowRect Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

ToJSON WindowRect Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Generic WindowRect Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Associated Types

type Rep WindowRect 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Show WindowRect Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Eq WindowRect Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

type Rep WindowRect Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

newtype URL Source #

Constructors

MkUrl 

Fields

Instances

Instances details
FromJSON URL Source # 
Instance details

Defined in WebDriverPreCore.Internal.HTTPBidiCommon

ToJSON URL Source # 
Instance details

Defined in WebDriverPreCore.Internal.HTTPBidiCommon

Show URL Source # 
Instance details

Defined in WebDriverPreCore.Internal.HTTPBidiCommon

Methods

showsPrec :: Int -> URL -> ShowS #

show :: URL -> String #

showList :: [URL] -> ShowS #

Eq URL Source # 
Instance details

Defined in WebDriverPreCore.Internal.HTTPBidiCommon

Methods

(==) :: URL -> URL -> Bool #

(/=) :: URL -> URL -> Bool #

Ord URL Source # 
Instance details

Defined in WebDriverPreCore.Internal.HTTPBidiCommon

Methods

compare :: URL -> URL -> Ordering #

(<) :: URL -> URL -> Bool #

(<=) :: URL -> URL -> Bool #

(>) :: URL -> URL -> Bool #

(>=) :: URL -> URL -> Bool #

max :: URL -> URL -> URL #

min :: URL -> URL -> URL #

Action Types

data Action Source #

Constructors

NoneAction 

Fields

Key 

Fields

Pointer 

Fields

Wheel 

Fields

Instances

Instances details
ToJSON Action Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Show Action Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Eq Action Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Methods

(==) :: Action -> Action -> Bool #

(/=) :: Action -> Action -> Bool #

newtype Actions Source #

Constructors

MkActions 

Fields

Instances

Instances details
ToJSON Actions Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Generic Actions Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Associated Types

type Rep Actions 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

type Rep Actions = D1 ('MetaData "Actions" "WebDriverPreCore.HTTP.Protocol" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkActions" 'PrefixI 'True) (S1 ('MetaSel ('Just "actions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Action])))

Methods

from :: Actions -> Rep Actions x #

to :: Rep Actions x -> Actions #

Show Actions Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Eq Actions Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Methods

(==) :: Actions -> Actions -> Bool #

(/=) :: Actions -> Actions -> Bool #

type Rep Actions Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

type Rep Actions = D1 ('MetaData "Actions" "WebDriverPreCore.HTTP.Protocol" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkActions" 'PrefixI 'True) (S1 ('MetaSel ('Just "actions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Action])))

data KeyAction Source #

Constructors

PauseKey 

Fields

KeyDown 

Fields

KeyUp 

Fields

data Pointer Source #

Constructors

Mouse 
Pen 
Touch 

Instances

Instances details
ToJSON Pointer Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Show Pointer Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Eq Pointer Source # 
Instance details

Defined in WebDriverPreCore.HTTP.Protocol

Methods

(==) :: Pointer -> Pointer -> Bool #

(/=) :: Pointer -> Pointer -> Bool #

data PointerAction Source #