| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
WebDriverPreCore.BiDi.Protocol
Description
This module defines the Command type and related types/functions for BiDi commands referenced by the API functions in WebDriverPreCore.BiDi.API
WebDriverPreCore.BiDi.API contains functions that generate the payload for each BiDi command and is the main interface for users of this package to interact with BiDi.
An example of using these modules to implement a basic BiDi client can be found in the test repository for this package.
Synopsis
- data Command (r :: k) = MkCommand {
- method :: CommandMethod
- params :: Object
- data CommandMethod
- data KnownCommand
- = BrowserClose
- | BrowserCreateUserContext
- | BrowserGetClientWindows
- | BrowserGetUserContexts
- | BrowserRemoveUserContext
- | BrowserSetClientWindowState
- | BrowserSetDownloadBehavior
- | BrowsingContextActivate
- | BrowsingContextCaptureScreenshot
- | BrowsingContextClose
- | BrowsingContextCreate
- | BrowsingContextGetTree
- | BrowsingContextHandleUserPrompt
- | BrowsingContextLocateNodes
- | BrowsingContextNavigate
- | BrowsingContextPrint
- | BrowsingContextReload
- | BrowsingContextSetViewport
- | BrowsingContextTraverseHistory
- | EmulationSetForcedColorsModeThemeOverride
- | EmulationSetGeolocationOverride
- | EmulationSetLocaleOverride
- | EmulationSetNetworkConditions
- | EmulationSetScreenOrientationOverride
- | EmulationSetScreenSettingsOverride
- | EmulationSetScriptingEnabled
- | EmulationSetTimezoneOverride
- | EmulationSetTouchOverride
- | EmulationSetUserAgentOverride
- | InputPerformActions
- | InputReleaseActions
- | InputSetFiles
- | NetworkAddDataCollector
- | NetworkAddIntercept
- | NetworkContinueRequest
- | NetworkContinueResponse
- | NetworkContinueWithAuth
- | NetworkDisownData
- | NetworkFailRequest
- | NetworkGetData
- | NetworkProvideResponse
- | NetworkRemoveDataCollector
- | NetworkRemoveIntercept
- | NetworkSetCacheBehavior
- | NetworkSetExtraHeaders
- | ScriptAddPreloadScript
- | ScriptCallFunction
- | ScriptDisown
- | ScriptEvaluate
- | ScriptGetRealms
- | ScriptRemovePreloadScript
- | SessionEnd
- | SessionNew
- | SessionStatus
- | SessionSubscribe
- | SessionUnsubscribe
- | StorageDeleteCookies
- | StorageGetCookies
- | StorageSetCookie
- | WebExtensionInstall
- | WebExtensionUninstall
- newtype OffSpecCommand = MkOffSpecCommand {}
- mkCommand :: forall {k} c (r :: k). ToJSON c => KnownCommand -> c -> Command r
- emptyCommand :: forall {k} (r :: k). KnownCommand -> Command r
- mkOffSpecCommand :: Text -> Object -> Command Object
- extendCommand :: forall {k} (r :: k). Object -> Command r -> Command r
- extendLoosenCommand :: forall {k} (r :: k). Object -> Command r -> Command Value
- extendCoerceCommand :: forall {k1} {k2} (r :: k1) (r2 :: k2). Object -> Command r -> Command r2
- loosenCommand :: forall {k} (r :: k). Command r -> Command Value
- coerceCommand :: forall {k1} {k2} (r :: k1) (r' :: k2). Command r -> Command r'
- knownCommandToText :: KnownCommand -> Text
- toCommandText :: CommandMethod -> Text
- data ClientWindowInfo = MkClientWindowInfo {
- active :: Bool
- clientWindow :: ClientWindow
- height :: Int
- state :: ClientWindowState
- width :: Int
- x :: Int
- y :: Int
- data CreateUserContext = MkCreateUserContext {}
- newtype GetClientWindowsResult = MkGetClientWindowsResult {}
- newtype GetUserContextsResult = MkGetUserContextsResult {
- userContexts :: [UserContext]
- newtype RemoveUserContext = MkRemoveUserContext {}
- data SetClientWindowState = MkSetClientWindowState {}
- data SetDownloadBehavior = MkSetDownloadBehavior {}
- data ClientWindowState
- data DownloadBehaviour
- = AllowedDownload { }
- | DeniedDownload
- data NamedState
- data RectState = MkRectState {}
- data WindowState
- data MatchType
- data Print = MkPrint {}
- data PrintMargin = MkPrintMargin {}
- data Locator
- data CreateType
- data DownloadWillBegin = MkDownloadWillBegin {}
- data HistoryUpdated = MkHistoryUpdated {}
- data NavigationInfo = MkNavigationInfo {
- context :: BrowsingContext
- navigation :: Maybe Navigation
- timestamp :: JSUInt
- url :: URL
- data TraverseHistory = MkTraverseHistory {
- context :: BrowsingContext
- delta :: JSInt
- data PageRange
- data Info = MkInfo {}
- data CaptureScreenshot = MkCaptureScreenshot {}
- newtype Activate = MkActivate {}
- newtype CaptureScreenshotResult = MkCaptureScreenshotResult {
- base64Text :: Text
- data Close = MkClose {}
- data Create = MkCreate {}
- data DownloadEnd
- = DownloadCompleted { }
- | DownloadCanceled { }
- data BrowsingContextEvent
- = ContextCreated Info
- | ContextDestroyed Info
- | DomContentLoaded NavigationInfo
- | DownloadEnd
- | DownloadWillBegin DownloadWillBegin
- | FragmentNavigated NavigationInfo
- | HistoryUpdated HistoryUpdated
- | Load NavigationInfo
- | NavigationAborted NavigationInfo
- | NavigationCommitted NavigationInfo
- | NavigationFailed NavigationInfo
- | NavigationStarted NavigationInfo
- | UserPromptClosed UserPromptClosed
- | UserPromptOpened UserPromptOpened
- data GetTree = MkGetTree {}
- newtype GetTreeResult = MkGetTreeResult {}
- data HandleUserPrompt = MkHandleUserPrompt {}
- data LocateNodes = MkLocateNodes {}
- newtype LocateNodesResult = MkLocateNodesResult {
- nodes :: [NodeRemoteValue]
- data Navigate = MkNavigate {
- context :: BrowsingContext
- url :: URL
- wait :: Maybe ReadinessState
- data NavigateResult = MkNavigateResult {
- navigation :: Maybe Text
- url :: URL
- newtype PrintResult = MkPrintResult {
- base64Text :: Text
- data Reload = MkReload {}
- data SetViewport = MkSetViewport {
- context :: Maybe BrowsingContext
- viewport :: Maybe (Maybe Viewport)
- devicePixelRatio :: Maybe (Maybe Float)
- userContexts :: Maybe [Text]
- data UserPromptClosed = MkUserPromptClosed {}
- data UserPromptOpened = MkUserPromptOpened {}
- data ScreenShotOrigin
- data ClipRectangle
- data ImageFormat = MkImageFormat {}
- data Orientation
- data ReadinessState
- = None
- | Interactive
- | Complete
- data UserPromptType
- = Alert
- | BeforeUnload
- | Confirm
- | Prompt
- data PrintPage = MkPrintPage {}
- data Viewport = MkViewport {}
- newtype Navigation = MkNavigation {
- navigationId :: Text
- data CapabilitiesResult = MkCapabilitiesResult {}
- data Capability = MkCapability {}
- data UserPromptHandlerType
- data Capabilities = MkCapabilities {}
- data ProxyConfiguration
- data UserPromptHandler = MkUserPromptHandler {}
- data SocksProxyConfiguration = MkSocksProxyConfiguration {
- socksProxy :: Text
- socksVersion :: Word8
- data Event
- data Subscription (m :: Type -> Type) where
- SingleSubscription :: forall (m :: Type -> Type) r. FromJSON r => {..} -> Subscription m
- MultiSubscription :: forall (m :: Type -> Type). {..} -> Subscription m
- OffSpecSubscription :: forall (m :: Type -> Type). {..} -> Subscription m
- mkMultiSubscription :: [KnownSubscriptionType] -> [BrowsingContext] -> [UserContext] -> (Event -> m ()) -> Subscription m
- mkSubscription :: forall m r. FromJSON r => KnownSubscriptionType -> [BrowsingContext] -> [UserContext] -> (r -> m ()) -> Subscription m
- mkOffSpecSubscription :: [OffSpecSubscriptionType] -> [BrowsingContext] -> [UserContext] -> (Value -> m ()) -> Subscription m
- data ScreenOrientationOverride = MkScreenOrientationOverride {}
- data SetForcedColorsModeThemeOverride = MkSetForcedColorsModeThemeOverride {}
- data SetGeolocationOverride = MkSetGeolocationOverride {}
- data SetLocaleOverride = MkSetLocaleOverride {
- locale :: Maybe Text
- contexts :: Maybe [BrowsingContext]
- userContexts :: Maybe [UserContext]
- data SetNetworkConditions = MkSetNetworkConditions {}
- data SetScreenOrientationOverride = MkSetScreenOrientationOverride {}
- data SetScreenSettingsOverride = MkSetScreenSettingsOverride {}
- data SetScriptingEnabled = MkSetScriptingEnabled {
- enabled :: Maybe Bool
- contexts :: Maybe [BrowsingContext]
- userContexts :: Maybe [UserContext]
- data SetTimezoneOverride = MkSetTimezoneOverride {
- timezone :: Maybe Text
- contexts :: Maybe [BrowsingContext]
- userContexts :: Maybe [UserContext]
- data SetTouchOverride = MkSetTouchOverride {}
- data SetUserAgentOverride = MkSetUserAgentOverride {
- userAgent :: Maybe Text
- contexts :: Maybe [BrowsingContext]
- userContexts :: Maybe [UserContext]
- data GeoProperty
- data GeolocationCoordinates = MkGeolocationCoordinates {}
- newtype GeolocationPositionError = MkGeolocationPositionError {}
- data ScreenArea = MkScreenArea {}
- data ScreenOrientationNatural
- data ScreenOrientationType
- data ForcedColorsModeTheme
- newtype NetworkConditions = MkNetworkConditions NetworkConditionsOffline
- newtype NetworkConditionsOffline = MkNetworkConditionsOffline {}
- data KeySourceAction
- newtype FileDialogOpened = MkFileDialogOpened {}
- data PerformActions = MkPerformActions {}
- newtype ReleaseActions = MkReleaseActions {}
- data SetFiles = MkSetFiles {
- context :: BrowsingContext
- element :: SharedReference
- files :: [Text]
- data Pointer = MkPointer {}
- data Origin
- data SourceActions
- data NoneSourceActions = MkNoneSourceActions {
- noneId :: Text
- noneActions :: [PauseAction]
- data KeySourceActions = MkKeySourceActions {
- keyId :: Text
- keyActions :: [KeySourceAction]
- data PointerSourceActions = MkPointerSourceActions {}
- data PointerSourceAction
- = Pause { }
- | PointerDown { }
- | PointerUp { }
- | PointerMove { }
- data WheelSourceActions = MkWheelSourceActions {
- wheelId :: Text
- wheelActions :: [WheelSourceAction]
- data WheelSourceAction
- newtype PauseAction = MkPauseAction {}
- data WheelScrollAction = MkWheelScrollAction {}
- data PointerCommonProperties = MkPointerCommonProperties {}
- data FileDialogInfo = MkFileDialogInfo {}
- data PointerType
- data BaseLogEntry = MkBaseLogEntry {}
- data ConsoleLogEntry = MkConsoleLogEntry {}
- data GenericLogEntry = MkGenericLogEntry {}
- data JavascriptLogEntry = MkJavascriptLogEntry {}
- data Level
- data LogEntry
- newtype LogEvent = MkLogEvent LogEntry
- data RealmInfo
- = WindowRealmInfo { }
- | DedicatedWorker {
- base :: BaseRealmInfo
- owners :: [Realm]
- | SharedWorker { }
- | ServiceWorker { }
- | Worker { }
- | PaintWorklet { }
- | AudioWorklet { }
- | Worklet { }
- data ExceptionDetails = MkExceptionDetails {}
- data RemoteObjectReference = MkRemoteObjectReference {}
- data RemoteValue
- = PrimitiveValue PrimitiveProtocolValue
- | SymbolValue { }
- | ArrayValue {
- handle :: Maybe Handle
- internalId :: Maybe InternalId
- value :: Maybe [RemoteValue]
- | ObjectValue {
- handle :: Maybe Handle
- internalId :: Maybe InternalId
- values :: Maybe [(Either RemoteValue Text, RemoteValue)]
- | FunctionValue { }
- | RegExpValue { }
- | DateValue {
- handle :: Maybe Handle
- internalId :: Maybe InternalId
- dateValue :: Text
- | MapValue {
- handle :: Maybe Handle
- internalId :: Maybe InternalId
- values :: Maybe [(Either RemoteValue Text, RemoteValue)]
- | SetValue {
- handle :: Maybe Handle
- internalId :: Maybe InternalId
- value :: Maybe [RemoteValue]
- | WeakMapValue { }
- | WeakSetValue { }
- | GeneratorValue { }
- | ErrorValue { }
- | ProxyValue { }
- | PromiseValue { }
- | TypedArrayValue { }
- | ArrayBufferValue { }
- | NodeListValue {
- handle :: Maybe Handle
- internalId :: Maybe InternalId
- value :: Maybe [RemoteValue]
- | HTMLCollectionValue {
- handle :: Maybe Handle
- internalId :: Maybe InternalId
- value :: Maybe [RemoteValue]
- | NodeValue NodeRemoteValue
- | WindowProxyValue { }
- data SharedReference = MkSharedReference {}
- data ArrayLocalValue = MkArrayLocalValue {
- typ :: Text
- value :: ListLocalValue
- newtype ChannelValue = MkChannelValue {}
- newtype DateLocalValue = MkDateLocalValue {}
- data MapLocalValue = MkMapLocalValue {}
- data ObjectLocalValue = MkObjectLocalValue {}
- data RegExpLocalValue = MkRegExpLocalValue {
- value :: RegExpValue
- data SetLocalValue = MkSetLocalValue {
- typ :: Text
- value :: ListLocalValue
- data IncludeShadowTree
- = ShadowTreeNone
- | Open
- | All
- data StackFrame = StackFrame {
- columnNumber :: JSUInt
- functionName :: Text
- lineNumber :: JSUInt
- url :: Text
- data StackTrace = MkStackTrace {
- callFrames :: [StackFrame]
- data Message = MkMessage {
- channel :: Channel
- messageData :: RemoteValue
- source :: Source
- data AddPreloadScript = MkAddPreloadScript {}
- newtype AddPreloadScriptResult = MkAddPreloadScriptResult {}
- data CallFunction = MkCallFunction {}
- data Disown = MkDisown {}
- data Evaluate = MkEvaluate {}
- data EvaluateResult
- = EvaluateResultSuccess {
- result :: RemoteValue
- realm :: Realm
- | EvaluateResultException { }
- = EvaluateResultSuccess {
- data GetRealms = MkGetRealms {}
- newtype GetRealmsResult = MkGetRealmsResult {}
- newtype RealmDestroyed = MkRealmDestroyed {}
- data ScriptEvent
- newtype RemovePreloadScript = MkRemovePreloadScript {}
- data PrimitiveProtocolValue
- data Source = MkSource {}
- data ContextTarget = MkContextTarget {}
- data Target
- data SpecialNumber
- newtype WindowProxyProperties = MkWindowProxyProperties {}
- data LocalValue
- newtype ListLocalValue = MkListLocalValue [LocalValue]
- newtype MappingLocalValue = MkMappingLocalValue [(Either LocalValue Text, LocalValue)]
- data RegExpValue = MkRegExpValue {
- regExpPattern :: Text
- flags :: Maybe Text
- data ResultOwnership
- data SerializationOptions = MkSerializationOptions {}
- data RealmType
- newtype Realm = MkRealm {}
- newtype Sandbox = MkSandbox Text
- data BaseRealmInfo = BaseRealmInfo {}
- newtype Channel = Channel {}
- data ChannelProperties = MkChannelProperties {}
- newtype PreloadScript = MkPreloadScript Text
- data RemoteReference = MkRemoteReference {}
- data SessionStatusResult = MkSessionStatusResult {}
- data SessionNewResult = MkSessionNewResult {}
- data SessionSubscibe = MkSessionSubscribe {
- events :: [SubscriptionType]
- contexts :: Maybe [BrowsingContext]
- userContexts :: Maybe [UserContext]
- newtype SessionSubscribeResult = MkSessionSubscribeResult {}
- data SessionUnsubscribe
- = UnsubscribeById { }
- | UnsubscribeByAttributes { }
- newtype SubscriptionId = MkSubscriptionId {}
- data CookieFilter = MkCookieFilter {}
- data PartialCookie = MkPartialCookie {}
- data SetCookie = MkSetCookie {}
- data DeleteCookies = MkDeleteCookies {}
- data GetCookies = MkGetCookies {}
- newtype DeleteCookiesResult = MkDeleteCookiesResult {}
- data GetCookiesResult = MkGetCookiesResult {
- cookies :: [Cookie]
- partitionKey :: PartitionKey
- newtype SetCookieResult = MkSetCookieResult {}
- data PartitionKey = MkPartitionKey {}
- data PartitionDescriptor
- data WebExtensionInstall
- data WebExtensionResult = WebExtensionInstallResult {}
- newtype WebExtensionUninstall = MkWebExtensionUninstall {}
- newtype WebExtensionID = MkWebExtensionID Text
- data Cookie = MkCookie {}
- data SetCookieHeader = MkSetCookieHeader {}
- newtype ResponseContent = MkResponseContent {}
- data AuthRequired = MkAuthRequired {}
- data BeforeRequestSent = MkBeforeRequestSent {}
- data FetchError = MkFetchError {}
- data ResponseCompleted = MkResponseCompleted {}
- data ResponseStarted = MkResponseStarted {}
- data DataType
- data SameSite
- = Strict
- | Lax
- | SameSiteNone
- | Default
- data AuthChallenge = MkAuthChallenge {}
- data InitiatorType
- data AddDataCollector = MkAddDataCollector {}
- newtype AddDataCollectorResult = MkAddDataCollectorResult {}
- data AddIntercept = MkAddIntercept {
- phases :: [InterceptPhase]
- contexts :: Maybe [BrowsingContext]
- urlPatterns :: Maybe [UrlPattern]
- newtype AddInterceptResult = MkAddInterceptResult {}
- data InterceptPhase
- data ContinueRequest = MkContinueRequest {}
- data ContinueResponse = MkContinueResponse {
- request :: Request
- cookies :: Maybe [SetCookieHeader]
- credentials :: Maybe AuthCredentials
- headers :: Maybe [Header]
- reasonPhrase :: Maybe Text
- statusCode :: Maybe JSUInt
- data ContinueWithAuth = MkContinueWithAuth {}
- data DisownData = MkDisownData {}
- data FailRequest = MkFailRequest {}
- data NetworkEvent
- data GetData = MkGetData {}
- newtype GetDataResult = MkGetDataResult {
- bytes :: BytesValue
- data ProvideResponse = MkProvideResponse {}
- data RemoveDataCollector = MkRemoveDataCollector {}
- newtype RemoveIntercept = MkRemoveIntercept {}
- data SetCacheBehavior = MkSetCacheBehavior {}
- data SetExtraHeaders = MkSetExtraHeaders {
- headers :: [Header]
- contexts :: Maybe [BrowsingContext]
- userContexts :: Maybe [UserContext]
- data UrlPattern
- data UrlPatternPattern = MkUrlPatternPattern {}
- newtype UrlPatternString = MkUrlPatternString {}
- data BytesValue
- data Header = MkHeader {}
- data CookieHeader = MkCookieHeader {}
- newtype Intercept = MkIntercept Text
- data AuthCredentials = MkAuthCredentials {}
- data AuthAction
- data CacheBehavior
- newtype CollectorType = MkCollectorType {}
- newtype Collector = MkCollector {}
- newtype Request = MkRequest {}
- data RequestData = MkRequestData {
- request :: Request
- url :: Text
- method :: HTTPMethod
- headers :: [Header]
- cookies :: Maybe [CookieHeader]
- headersSize :: JSUInt
- bodySize :: Maybe JSUInt
- destination :: Text
- initiatorType :: Maybe InitiatorType
- timings :: Maybe FetchTimingInfo
- data ResponseData = MkResponseData {
- responseUrl :: Text
- responseProtocol :: Text
- responseStatus :: Int
- responseStatusText :: Text
- responseFromCache :: Bool
- responseHeaders :: [Header]
- responseMimeType :: Text
- responseBytesReceived :: Word
- responseHeadersSize :: Maybe Word
- responseBodySize :: Maybe Word
- responseContent :: ResponseContent
- responseAuthChallenges :: Maybe [AuthChallenge]
- data Initiator = MkInitiator {}
- data HTTPMethod
- data FetchTimingInfo = MkFetchTimingInfo {}
- data NodeRemoteValue = MkNodeRemoteValue {}
- newtype StringValue = MkStringValue {}
- newtype SharedId = MkSharedId {}
- newtype Handle = MkHandle Text
- data NodeProperties = MkNodeProperties {
- nodeType :: JSUInt
- childNodeCount :: JSUInt
- attributes :: Maybe (Map Text Text)
- children :: Maybe [NodeRemoteValue]
- localName :: Maybe Text
- mode :: Maybe Text
- namespaceURI :: Maybe Text
- nodeValue :: Maybe Text
- shadowRoot :: Maybe NodeRemoteValue
- newtype BrowsingContext = MkBrowsingContext {}
- data KnownSubscriptionType
- = BrowsingContextContextCreated
- | BrowsingContextContextDestroyed
- | BrowsingContextNavigationStarted
- | BrowsingContextFragmentNavigated
- | BrowsingContextHistoryUpdated
- | BrowsingContextDomContentLoaded
- | BrowsingContextLoad
- | BrowsingContextDownloadWillBegin
- | BrowsingContextDownloadEnd
- | BrowsingContextNavigationAborted
- | BrowsingContextNavigationCommitted
- | BrowsingContextNavigationFailed
- | BrowsingContextUserPromptClosed
- | BrowsingContextUserPromptOpened
- | LogEntryAdded
- | NetworkAuthRequired
- | NetworkBeforeRequestSent
- | NetworkFetchError
- | NetworkResponseCompleted
- | NetworkResponseStarted
- | ScriptMessage
- | ScriptRealmCreated
- | ScriptRealmDestroyed
- | InputFileDialogOpened
- data SubscriptionType
- newtype OffSpecSubscriptionType = MkOffSpecSubscriptionType {}
- newtype UserContext = MkUserContext {
- userContext :: Text
- newtype URL = MkUrl {}
- newtype JSUInt = MkJSUInt Word64
- newtype ClientWindow = MkClientWindow Text
- newtype JSInt = MkJSInt Int64
- newtype EmptyResult = MkEmptyResult {
- extensible :: Object
- newtype InternalId = MkInternalId Text
- subscriptionTypeToText :: SubscriptionType -> Text
- data WebDriverException
- data ErrorType
- = ElementClickIntercepted
- | ElementNotInteractable
- | InsecureCertificate
- | InvalidArgument
- | InvalidCookieDomain
- | InvalidElementState
- | InvalidSelector
- | InvalidSessionId
- | JavascriptError
- | MoveTargetOutOfBounds
- | NoSuchAlert
- | NoSuchCookie
- | NoSuchElement
- | NoSuchFrame
- | NoSuchWindow
- | NoSuchShadowRoot
- | ScriptTimeout
- | SessionNotCreated
- | StaleElementReference
- | DetachedShadowRoot
- | Timeout
- | UnableToSetCookie
- | UnableToCaptureScreen
- | UnexpectedAlertOpen
- | UnknownCommand
- | UnknownError
- | UnknownMethod
- | UnsupportedOperation
- | InvalidWebExtension
- | NoSuchClientWindow
- | NoSuchHandle
- | NoSuchHistoryEntry
- | NoSuchNetworkCollector
- | NoSuchIntercept
- | NoSuchNetworkData
- | NoSuchNode
- | NoSuchRequest
- | NoSuchScript
- | NoSuchStoragePartition
- | NoSuchUserContext
- | NoSuchWebExtension
- | UnableToCloseBrowser
- | UnableToSetFileInput
- | UnavailableNetworkData
- | UnderspecifiedStoragePartition
- data JSONEncodeException = MkJSONEncodeException {
- message :: Text
- responseText :: Text
- errorDescription :: ErrorType -> Text
- toErrorType :: Text -> Either Text ErrorType
- toErrorCode :: ErrorType -> Text
- parseWebDriverException :: Text -> Value -> WebDriverException
- parseErrorType :: Value -> Maybe ErrorType
Command
data Command (r :: k) Source #
A BiDi Command to be sent over the WebSocket connection.
All functions in WebDriverPreCore.BiDi.API return values of this type.
The command contains the method name and parameters to be serialized as JSON and a phantom response type r, which is always an instance of FromJSON.
Constructors
| MkCommand | |
Fields
| |
data CommandMethod Source #
The method name of a BiDi command.
This library provides known commands as KnownCommand values, but users can also create off-spec commands using OffSpecCommand as a fallback, when the driver supports commands not yet implemented in this library.
Constructors
| KnownCommand KnownCommand | |
| OffSpecCommand OffSpecCommand |
Instances
| FromJSON CommandMethod Source # | |
Defined in WebDriverPreCore.BiDi.Command Methods parseJSON :: Value -> Parser CommandMethod # parseJSONList :: Value -> Parser [CommandMethod] # | |
| ToJSON CommandMethod Source # | |
Defined in WebDriverPreCore.BiDi.Command Methods toJSON :: CommandMethod -> Value # toEncoding :: CommandMethod -> Encoding # toJSONList :: [CommandMethod] -> Value # toEncodingList :: [CommandMethod] -> Encoding # omitField :: CommandMethod -> Bool # | |
| Show CommandMethod Source # | |
Defined in WebDriverPreCore.BiDi.Command Methods showsPrec :: Int -> CommandMethod -> ShowS # show :: CommandMethod -> String # showList :: [CommandMethod] -> ShowS # | |
| Eq CommandMethod Source # | |
Defined in WebDriverPreCore.BiDi.Command Methods (==) :: CommandMethod -> CommandMethod -> Bool # (/=) :: CommandMethod -> CommandMethod -> Bool # | |
data KnownCommand Source #
This type enumerates the BiDi commands known to this library.
Constructors
Instances
newtype OffSpecCommand Source #
The method name of a BiDi command not yet implemented in this library
Constructors
| MkOffSpecCommand | |
Instances
| FromJSON OffSpecCommand Source # | |
Defined in WebDriverPreCore.BiDi.Command Methods parseJSON :: Value -> Parser OffSpecCommand # parseJSONList :: Value -> Parser [OffSpecCommand] # | |
| ToJSON OffSpecCommand Source # | |
Defined in WebDriverPreCore.BiDi.Command Methods toJSON :: OffSpecCommand -> Value # toEncoding :: OffSpecCommand -> Encoding # toJSONList :: [OffSpecCommand] -> Value # toEncodingList :: [OffSpecCommand] -> Encoding # omitField :: OffSpecCommand -> Bool # | |
| Show OffSpecCommand Source # | |
Defined in WebDriverPreCore.BiDi.Command Methods showsPrec :: Int -> OffSpecCommand -> ShowS # show :: OffSpecCommand -> String # showList :: [OffSpecCommand] -> ShowS # | |
| Eq OffSpecCommand Source # | |
Defined in WebDriverPreCore.BiDi.Command Methods (==) :: OffSpecCommand -> OffSpecCommand -> Bool # (/=) :: OffSpecCommand -> OffSpecCommand -> Bool # | |
Constructors
The following constructors are partially applied in WebDriverPreCore.BiDi.API to generate specific named command functions. Although these functions form the basis of every command in the WebDriverPreCore.BiDi.API, it would be unusual to need to use these directly.
Arguments
| :: forall {k} c (r :: k). ToJSON c | |
| => KnownCommand | The identitifier for the command to be invoked |
| -> c | The parameters to be sent with the command |
| -> Command r | A |
Creates a Command with the given KnownCommand method and parameters.
Patially applied in WebDriverPreCore.BiDi.API to generate specific named command functions which accept only an input type, relevant to that command.
The input type must be an instance of ToJSON and encode to a JSON Object type.
E.g. the browsingContextNavigate, which takes a Navigate input and returns a Command with a NavigateResult output, is defined by the partial application of mkCommand:
browsingContextNavigate :: Navigate -> Command NavigateResult browsingContextNavigate = mkCommand BrowsingContextNavigate
Arguments
| :: forall {k} (r :: k). KnownCommand | The identitifier for the command to be invoked |
| -> Command r | A |
Creates a Command with the given KnownCommand method and no parameters.
This is the same as calling mkCommand with an empty object as parameters.
E.g. the browserGetClientWindows, which takes no input and returns a Command with a list of WindowInfo output, is defined by the partial application of emptyCommand:
browserGetClientWindows :: Command [WindowInfo] browserGetClientWindows = emptyCommand BrowserGetClientWindows
Fallback Constructors
The following constructors are provided to modify or create new commands that are not directly supported by the WebDriverPreCore.BiDi.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 BiDi protocol.
mkOffSpecCommand :: Text -> Object -> Command Object Source #
Creates a Command with the given method name text, JSON Object parameters, and an expected JSON Object response.
extendCoerceCommand :: forall {k1} {k2} (r :: k1) (r2 :: k2). Object -> Command r -> Command r2 Source #
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.
Command Method Utilities
knownCommandToText :: KnownCommand -> Text Source #
Converts a KnownCommand to its corresponding method name text.
toCommandText :: CommandMethod -> Text Source #
Converts a CommandMethod to its corresponding method name text.
Browser
data ClientWindowInfo Source #
Constructors
| MkClientWindowInfo | |
Fields
| |
Instances
data CreateUserContext Source #
Constructors
| MkCreateUserContext | |
Instances
| ToJSON CreateUserContext Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods toJSON :: CreateUserContext -> Value # toEncoding :: CreateUserContext -> Encoding # toJSONList :: [CreateUserContext] -> Value # toEncodingList :: [CreateUserContext] -> Encoding # omitField :: CreateUserContext -> Bool # | |||||
| Generic CreateUserContext Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Associated Types
Methods from :: CreateUserContext -> Rep CreateUserContext x # to :: Rep CreateUserContext x -> CreateUserContext # | |||||
| Show CreateUserContext Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods showsPrec :: Int -> CreateUserContext -> ShowS # show :: CreateUserContext -> String # showList :: [CreateUserContext] -> ShowS # | |||||
| Eq CreateUserContext Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods (==) :: CreateUserContext -> CreateUserContext -> Bool # (/=) :: CreateUserContext -> CreateUserContext -> Bool # | |||||
| type Rep CreateUserContext Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser type Rep CreateUserContext = D1 ('MetaData "CreateUserContext" "WebDriverPreCore.BiDi.Browser" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkCreateUserContext" 'PrefixI 'True) (S1 ('MetaSel ('Just "insecureCerts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "proxy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProxyConfiguration)) :*: S1 ('MetaSel ('Just "unhandledPromptBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserPromptHandler))))) | |||||
newtype GetClientWindowsResult Source #
Constructors
| MkGetClientWindowsResult | |
Fields | |
Instances
| FromJSON GetClientWindowsResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods parseJSON :: Value -> Parser GetClientWindowsResult # parseJSONList :: Value -> Parser [GetClientWindowsResult] # | |||||
| Generic GetClientWindowsResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Associated Types
Methods from :: GetClientWindowsResult -> Rep GetClientWindowsResult x # to :: Rep GetClientWindowsResult x -> GetClientWindowsResult # | |||||
| Show GetClientWindowsResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods showsPrec :: Int -> GetClientWindowsResult -> ShowS # show :: GetClientWindowsResult -> String # showList :: [GetClientWindowsResult] -> ShowS # | |||||
| Eq GetClientWindowsResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods (==) :: GetClientWindowsResult -> GetClientWindowsResult -> Bool # (/=) :: GetClientWindowsResult -> GetClientWindowsResult -> Bool # | |||||
| type Rep GetClientWindowsResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser type Rep GetClientWindowsResult = D1 ('MetaData "GetClientWindowsResult" "WebDriverPreCore.BiDi.Browser" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkGetClientWindowsResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientWindows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ClientWindowInfo]))) | |||||
newtype GetUserContextsResult Source #
Constructors
| MkGetUserContextsResult | |
Fields
| |
Instances
| FromJSON GetUserContextsResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods parseJSON :: Value -> Parser GetUserContextsResult # parseJSONList :: Value -> Parser [GetUserContextsResult] # | |||||
| Generic GetUserContextsResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Associated Types
Methods from :: GetUserContextsResult -> Rep GetUserContextsResult x # to :: Rep GetUserContextsResult x -> GetUserContextsResult # | |||||
| Show GetUserContextsResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods showsPrec :: Int -> GetUserContextsResult -> ShowS # show :: GetUserContextsResult -> String # showList :: [GetUserContextsResult] -> ShowS # | |||||
| Eq GetUserContextsResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods (==) :: GetUserContextsResult -> GetUserContextsResult -> Bool # (/=) :: GetUserContextsResult -> GetUserContextsResult -> Bool # | |||||
| type Rep GetUserContextsResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser type Rep GetUserContextsResult = D1 ('MetaData "GetUserContextsResult" "WebDriverPreCore.BiDi.Browser" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkGetUserContextsResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "userContexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [UserContext]))) | |||||
newtype RemoveUserContext Source #
Constructors
| MkRemoveUserContext | |
Fields | |
Instances
| ToJSON RemoveUserContext Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods toJSON :: RemoveUserContext -> Value # toEncoding :: RemoveUserContext -> Encoding # toJSONList :: [RemoveUserContext] -> Value # toEncodingList :: [RemoveUserContext] -> Encoding # omitField :: RemoveUserContext -> Bool # | |||||
| Generic RemoveUserContext Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Associated Types
Methods from :: RemoveUserContext -> Rep RemoveUserContext x # to :: Rep RemoveUserContext x -> RemoveUserContext # | |||||
| Show RemoveUserContext Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods showsPrec :: Int -> RemoveUserContext -> ShowS # show :: RemoveUserContext -> String # showList :: [RemoveUserContext] -> ShowS # | |||||
| Eq RemoveUserContext Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods (==) :: RemoveUserContext -> RemoveUserContext -> Bool # (/=) :: RemoveUserContext -> RemoveUserContext -> Bool # | |||||
| type Rep RemoveUserContext Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser type Rep RemoveUserContext = D1 ('MetaData "RemoveUserContext" "WebDriverPreCore.BiDi.Browser" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkRemoveUserContext" 'PrefixI 'True) (S1 ('MetaSel ('Just "userContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserContext))) | |||||
data SetClientWindowState Source #
Constructors
| MkSetClientWindowState | |
Fields | |
Instances
| ToJSON SetClientWindowState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods toJSON :: SetClientWindowState -> Value # toEncoding :: SetClientWindowState -> Encoding # toJSONList :: [SetClientWindowState] -> Value # toEncodingList :: [SetClientWindowState] -> Encoding # omitField :: SetClientWindowState -> Bool # | |||||
| Generic SetClientWindowState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Associated Types
Methods from :: SetClientWindowState -> Rep SetClientWindowState x # to :: Rep SetClientWindowState x -> SetClientWindowState # | |||||
| Show SetClientWindowState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods showsPrec :: Int -> SetClientWindowState -> ShowS # show :: SetClientWindowState -> String # showList :: [SetClientWindowState] -> ShowS # | |||||
| Eq SetClientWindowState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods (==) :: SetClientWindowState -> SetClientWindowState -> Bool # (/=) :: SetClientWindowState -> SetClientWindowState -> Bool # | |||||
| type Rep SetClientWindowState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser type Rep SetClientWindowState = D1 ('MetaData "SetClientWindowState" "WebDriverPreCore.BiDi.Browser" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSetClientWindowState" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientWindow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ClientWindow) :*: S1 ('MetaSel ('Just "windowState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 WindowState))) | |||||
data SetDownloadBehavior Source #
Constructors
| MkSetDownloadBehavior | |
Fields | |
Instances
| ToJSON SetDownloadBehavior Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods toJSON :: SetDownloadBehavior -> Value # toEncoding :: SetDownloadBehavior -> Encoding # toJSONList :: [SetDownloadBehavior] -> Value # toEncodingList :: [SetDownloadBehavior] -> Encoding # omitField :: SetDownloadBehavior -> Bool # | |||||
| Generic SetDownloadBehavior Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Associated Types
Methods from :: SetDownloadBehavior -> Rep SetDownloadBehavior x # to :: Rep SetDownloadBehavior x -> SetDownloadBehavior # | |||||
| Show SetDownloadBehavior Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods showsPrec :: Int -> SetDownloadBehavior -> ShowS # show :: SetDownloadBehavior -> String # showList :: [SetDownloadBehavior] -> ShowS # | |||||
| Eq SetDownloadBehavior Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods (==) :: SetDownloadBehavior -> SetDownloadBehavior -> Bool # (/=) :: SetDownloadBehavior -> SetDownloadBehavior -> Bool # | |||||
| type Rep SetDownloadBehavior Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser type Rep SetDownloadBehavior = D1 ('MetaData "SetDownloadBehavior" "WebDriverPreCore.BiDi.Browser" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSetDownloadBehavior" 'PrefixI 'True) (S1 ('MetaSel ('Just "downloadBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DownloadBehaviour)) :*: S1 ('MetaSel ('Just "userContexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserContext])))) | |||||
data ClientWindowState Source #
Constructors
| Fullscreen | |
| Maximized | |
| Minimized | |
| Normal |
Instances
| FromJSON ClientWindowState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods parseJSON :: Value -> Parser ClientWindowState # parseJSONList :: Value -> Parser [ClientWindowState] # | |||||
| ToJSON ClientWindowState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods toJSON :: ClientWindowState -> Value # toEncoding :: ClientWindowState -> Encoding # toJSONList :: [ClientWindowState] -> Value # toEncodingList :: [ClientWindowState] -> Encoding # omitField :: ClientWindowState -> Bool # | |||||
| Generic ClientWindowState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Associated Types
Methods from :: ClientWindowState -> Rep ClientWindowState x # to :: Rep ClientWindowState x -> ClientWindowState # | |||||
| Show ClientWindowState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods showsPrec :: Int -> ClientWindowState -> ShowS # show :: ClientWindowState -> String # showList :: [ClientWindowState] -> ShowS # | |||||
| Eq ClientWindowState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods (==) :: ClientWindowState -> ClientWindowState -> Bool # (/=) :: ClientWindowState -> ClientWindowState -> Bool # | |||||
| type Rep ClientWindowState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser type Rep ClientWindowState = D1 ('MetaData "ClientWindowState" "WebDriverPreCore.BiDi.Browser" "webdriver-precore-0.2.0.0-inplace" 'False) ((C1 ('MetaCons "Fullscreen" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Maximized" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Minimized" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Normal" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
data DownloadBehaviour Source #
Constructors
| AllowedDownload | |
Fields | |
| DeniedDownload | |
Instances
| FromJSON DownloadBehaviour Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods parseJSON :: Value -> Parser DownloadBehaviour # parseJSONList :: Value -> Parser [DownloadBehaviour] # | |||||
| ToJSON DownloadBehaviour Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods toJSON :: DownloadBehaviour -> Value # toEncoding :: DownloadBehaviour -> Encoding # toJSONList :: [DownloadBehaviour] -> Value # toEncodingList :: [DownloadBehaviour] -> Encoding # omitField :: DownloadBehaviour -> Bool # | |||||
| Generic DownloadBehaviour Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Associated Types
Methods from :: DownloadBehaviour -> Rep DownloadBehaviour x # to :: Rep DownloadBehaviour x -> DownloadBehaviour # | |||||
| Show DownloadBehaviour Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods showsPrec :: Int -> DownloadBehaviour -> ShowS # show :: DownloadBehaviour -> String # showList :: [DownloadBehaviour] -> ShowS # | |||||
| Eq DownloadBehaviour Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods (==) :: DownloadBehaviour -> DownloadBehaviour -> Bool # (/=) :: DownloadBehaviour -> DownloadBehaviour -> Bool # | |||||
| type Rep DownloadBehaviour Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser type Rep DownloadBehaviour = D1 ('MetaData "DownloadBehaviour" "WebDriverPreCore.BiDi.Browser" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "AllowedDownload" 'PrefixI 'True) (S1 ('MetaSel ('Just "destinationFolder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: C1 ('MetaCons "DeniedDownload" 'PrefixI 'False) (U1 :: Type -> Type)) | |||||
data NamedState Source #
Constructors
| FullscreenState | |
| MaximizedState | |
| MinimizedState |
Instances
| FromJSON NamedState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser | |||||
| ToJSON NamedState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods toJSON :: NamedState -> Value # toEncoding :: NamedState -> Encoding # toJSONList :: [NamedState] -> Value # toEncodingList :: [NamedState] -> Encoding # omitField :: NamedState -> Bool # | |||||
| Generic NamedState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Associated Types
| |||||
| Show NamedState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods showsPrec :: Int -> NamedState -> ShowS # show :: NamedState -> String # showList :: [NamedState] -> ShowS # | |||||
| Eq NamedState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser | |||||
| type Rep NamedState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser type Rep NamedState = D1 ('MetaData "NamedState" "WebDriverPreCore.BiDi.Browser" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "FullscreenState" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MaximizedState" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MinimizedState" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
Instances
| FromJSON RectState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser | |||||
| ToJSON RectState Source # | |||||
| Generic RectState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Associated Types
| |||||
| Show RectState Source # | |||||
| Eq RectState Source # | |||||
| type Rep RectState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser type Rep RectState = D1 ('MetaData "RectState" "WebDriverPreCore.BiDi.Browser" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkRectState" 'PrefixI 'True) ((S1 ('MetaSel ('Just "width") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "height") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "x") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "y") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) | |||||
data WindowState Source #
Instances
| FromJSON WindowState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser | |||||
| ToJSON WindowState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods toJSON :: WindowState -> Value # toEncoding :: WindowState -> Encoding # toJSONList :: [WindowState] -> Value # toEncodingList :: [WindowState] -> Encoding # omitField :: WindowState -> Bool # | |||||
| Generic WindowState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Associated Types
| |||||
| Show WindowState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser Methods showsPrec :: Int -> WindowState -> ShowS # show :: WindowState -> String # showList :: [WindowState] -> ShowS # | |||||
| Eq WindowState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser | |||||
| type Rep WindowState Source # | |||||
Defined in WebDriverPreCore.BiDi.Browser type Rep WindowState = D1 ('MetaData "WindowState" "WebDriverPreCore.BiDi.Browser" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "ClientWindowNamedState" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NamedState)) :+: C1 ('MetaCons "ClientWindowRectState" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RectState))) | |||||
Browsing Context
Text matching type for InnerText locator
Instances
| ToJSON MatchType Source # | |||||
| Generic MatchType Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
| |||||
| Show MatchType Source # | |||||
| Eq MatchType Source # | |||||
| type Rep MatchType Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext | |||||
for print command
Constructors
| MkPrint | |
Fields
| |
Instances
| ToJSON Print Source # | |||||
| Generic Print Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
| |||||
| Show Print Source # | |||||
| Eq Print Source # | |||||
| type Rep Print Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep Print = D1 ('MetaData "Print" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkPrint" 'PrefixI 'True) (((S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BrowsingContext) :*: S1 ('MetaSel ('Just "background") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "margin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PrintMargin)) :*: S1 ('MetaSel ('Just "orientation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Orientation)))) :*: ((S1 ('MetaSel ('Just "page") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PrintPage)) :*: S1 ('MetaSel ('Just "pageRanges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PageRange]))) :*: (S1 ('MetaSel ('Just "scale") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Float)) :*: S1 ('MetaSel ('Just "shrinkToFit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))) | |||||
data PrintMargin Source #
Print margin
Constructors
| MkPrintMargin | |
Instances
| ToJSON PrintMargin Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods toJSON :: PrintMargin -> Value # toEncoding :: PrintMargin -> Encoding # toJSONList :: [PrintMargin] -> Value # toEncodingList :: [PrintMargin] -> Encoding # omitField :: PrintMargin -> Bool # | |||||
| Generic PrintMargin Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
| |||||
| Show PrintMargin Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods showsPrec :: Int -> PrintMargin -> ShowS # show :: PrintMargin -> String # showList :: [PrintMargin] -> ShowS # | |||||
| Eq PrintMargin Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext | |||||
| type Rep PrintMargin Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep PrintMargin = D1 ('MetaData "PrintMargin" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkPrintMargin" 'PrefixI 'True) ((S1 ('MetaSel ('Just "bottom") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Float)) :*: S1 ('MetaSel ('Just "left") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Float))) :*: (S1 ('MetaSel ('Just "right") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Float)) :*: S1 ('MetaSel ('Just "top") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Float))))) | |||||
Different types of locators for elements
Constructors
| Accessibility | |
| CSS | |
| Context | |
Fields | |
| InnerText | |
| XPath | |
data CreateType Source #
Type of browsing context to create
Instances
| ToJSON CreateType Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods toJSON :: CreateType -> Value # toEncoding :: CreateType -> Encoding # toJSONList :: [CreateType] -> Value # toEncodingList :: [CreateType] -> Encoding # omitField :: CreateType -> Bool # | |||||
| Generic CreateType Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
| |||||
| Show CreateType Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods showsPrec :: Int -> CreateType -> ShowS # show :: CreateType -> String # showList :: [CreateType] -> ShowS # | |||||
| Eq CreateType Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext | |||||
| type Rep CreateType Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext | |||||
data DownloadWillBegin Source #
Constructors
| MkDownloadWillBegin | |
Fields
| |
Instances
| FromJSON DownloadWillBegin Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods parseJSON :: Value -> Parser DownloadWillBegin # parseJSONList :: Value -> Parser [DownloadWillBegin] # | |||||
| Generic DownloadWillBegin Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
Methods from :: DownloadWillBegin -> Rep DownloadWillBegin x # to :: Rep DownloadWillBegin x -> DownloadWillBegin # | |||||
| Show DownloadWillBegin Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods showsPrec :: Int -> DownloadWillBegin -> ShowS # show :: DownloadWillBegin -> String # showList :: [DownloadWillBegin] -> ShowS # | |||||
| Eq DownloadWillBegin Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods (==) :: DownloadWillBegin -> DownloadWillBegin -> Bool # (/=) :: DownloadWillBegin -> DownloadWillBegin -> Bool # | |||||
| type Rep DownloadWillBegin Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep DownloadWillBegin = D1 ('MetaData "DownloadWillBegin" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkDownloadWillBegin" 'PrefixI 'True) ((S1 ('MetaSel ('Just "suggestedFilename") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BrowsingContext)) :*: (S1 ('MetaSel ('Just "navigation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Navigation)) :*: (S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt) :*: S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 URL))))) | |||||
data HistoryUpdated Source #
Constructors
| MkHistoryUpdated | |
Instances
| FromJSON HistoryUpdated Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods parseJSON :: Value -> Parser HistoryUpdated # parseJSONList :: Value -> Parser [HistoryUpdated] # | |||||
| Generic HistoryUpdated Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
Methods from :: HistoryUpdated -> Rep HistoryUpdated x # to :: Rep HistoryUpdated x -> HistoryUpdated # | |||||
| Show HistoryUpdated Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods showsPrec :: Int -> HistoryUpdated -> ShowS # show :: HistoryUpdated -> String # showList :: [HistoryUpdated] -> ShowS # | |||||
| Eq HistoryUpdated Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods (==) :: HistoryUpdated -> HistoryUpdated -> Bool # (/=) :: HistoryUpdated -> HistoryUpdated -> Bool # | |||||
| type Rep HistoryUpdated Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep HistoryUpdated = D1 ('MetaData "HistoryUpdated" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkHistoryUpdated" 'PrefixI 'True) (S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BrowsingContext) :*: (S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt) :*: S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 URL)))) | |||||
data NavigationInfo Source #
Constructors
| MkNavigationInfo | |
Fields
| |
Instances
data TraverseHistory Source #
for traverseHistory command
Constructors
| MkTraverseHistory | |
Fields
| |
Instances
| ToJSON TraverseHistory Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods toJSON :: TraverseHistory -> Value # toEncoding :: TraverseHistory -> Encoding # toJSONList :: [TraverseHistory] -> Value # toEncodingList :: [TraverseHistory] -> Encoding # omitField :: TraverseHistory -> Bool # | |||||
| Generic TraverseHistory Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
Methods from :: TraverseHistory -> Rep TraverseHistory x # to :: Rep TraverseHistory x -> TraverseHistory # | |||||
| Show TraverseHistory Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods showsPrec :: Int -> TraverseHistory -> ShowS # show :: TraverseHistory -> String # showList :: [TraverseHistory] -> ShowS # | |||||
| Eq TraverseHistory Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods (==) :: TraverseHistory -> TraverseHistory -> Bool # (/=) :: TraverseHistory -> TraverseHistory -> Bool # | |||||
| type Rep TraverseHistory Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep TraverseHistory = D1 ('MetaData "TraverseHistory" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkTraverseHistory" 'PrefixI 'True) (S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BrowsingContext) :*: S1 ('MetaSel ('Just "delta") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSInt))) | |||||
Constructors
| MkInfo | |
Fields
| |
Instances
| FromJSON Info Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext | |||||
| Generic Info Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
| |||||
| Show Info Source # | |||||
| Eq Info Source # | |||||
| type Rep Info Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep Info = D1 ('MetaData "Info" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkInfo" 'PrefixI 'True) ((S1 ('MetaSel ('Just "children") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Info])) :*: (S1 ('MetaSel ('Just "clientWindow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ClientWindow) :*: S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BrowsingContext))) :*: ((S1 ('MetaSel ('Just "originalOpener") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BrowsingContext)) :*: S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 URL)) :*: (S1 ('MetaSel ('Just "userContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UserContext) :*: S1 ('MetaSel ('Just "parent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BrowsingContext)))))) | |||||
data CaptureScreenshot Source #
for captureScreenshot command
Constructors
| MkCaptureScreenshot | |
Fields | |
Instances
| ToJSON CaptureScreenshot Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods toJSON :: CaptureScreenshot -> Value # toEncoding :: CaptureScreenshot -> Encoding # toJSONList :: [CaptureScreenshot] -> Value # toEncodingList :: [CaptureScreenshot] -> Encoding # omitField :: CaptureScreenshot -> Bool # | |||||
| Generic CaptureScreenshot Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
Methods from :: CaptureScreenshot -> Rep CaptureScreenshot x # to :: Rep CaptureScreenshot x -> CaptureScreenshot # | |||||
| Show CaptureScreenshot Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods showsPrec :: Int -> CaptureScreenshot -> ShowS # show :: CaptureScreenshot -> String # showList :: [CaptureScreenshot] -> ShowS # | |||||
| Eq CaptureScreenshot Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods (==) :: CaptureScreenshot -> CaptureScreenshot -> Bool # (/=) :: CaptureScreenshot -> CaptureScreenshot -> Bool # | |||||
| type Rep CaptureScreenshot Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep CaptureScreenshot = D1 ('MetaData "CaptureScreenshot" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkCaptureScreenshot" 'PrefixI 'True) ((S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BrowsingContext) :*: S1 ('MetaSel ('Just "origin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ScreenShotOrigin))) :*: (S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImageFormat)) :*: S1 ('MetaSel ('Just "clip") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClipRectangle))))) | |||||
for activate command
Constructors
| MkActivate | |
Fields | |
Instances
| ToJSON Activate Source # | |||||
| Generic Activate Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
| |||||
| Show Activate Source # | |||||
| Eq Activate Source # | |||||
| type Rep Activate Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep Activate = D1 ('MetaData "Activate" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkActivate" 'PrefixI 'True) (S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BrowsingContext))) | |||||
newtype CaptureScreenshotResult Source #
Constructors
| MkCaptureScreenshotResult | |
Fields
| |
Instances
| FromJSON CaptureScreenshotResult Source # | |
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods parseJSON :: Value -> Parser CaptureScreenshotResult # parseJSONList :: Value -> Parser [CaptureScreenshotResult] # | |
| Show CaptureScreenshotResult Source # | |
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods showsPrec :: Int -> CaptureScreenshotResult -> ShowS # show :: CaptureScreenshotResult -> String # showList :: [CaptureScreenshotResult] -> ShowS # | |
| Eq CaptureScreenshotResult Source # | |
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods (==) :: CaptureScreenshotResult -> CaptureScreenshotResult -> Bool # (/=) :: CaptureScreenshotResult -> CaptureScreenshotResult -> Bool # | |
for close command
Constructors
| MkClose | |
Fields | |
Instances
| ToJSON Close Source # | |||||
| Generic Close Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
| |||||
| Show Close Source # | |||||
| Eq Close Source # | |||||
| type Rep Close Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep Close = D1 ('MetaData "Close" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkClose" 'PrefixI 'True) (S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BrowsingContext) :*: S1 ('MetaSel ('Just "promptUnload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) | |||||
for create command
Constructors
| MkCreate | |
Fields | |
Instances
| ToJSON Create Source # | |||||
| Generic Create Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
| |||||
| Show Create Source # | |||||
| Eq Create Source # | |||||
| type Rep Create Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep Create = D1 ('MetaData "Create" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkCreate" 'PrefixI 'True) ((S1 ('MetaSel ('Just "createType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CreateType) :*: S1 ('MetaSel ('Just "background") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "referenceContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BrowsingContext)) :*: S1 ('MetaSel ('Just "userContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserContext))))) | |||||
data DownloadEnd Source #
Constructors
| DownloadCompleted | |
Fields | |
| DownloadCanceled | |
Fields | |
Instances
| FromJSON DownloadEnd Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext | |||||
| Generic DownloadEnd Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
| |||||
| Show DownloadEnd Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods showsPrec :: Int -> DownloadEnd -> ShowS # show :: DownloadEnd -> String # showList :: [DownloadEnd] -> ShowS # | |||||
| Eq DownloadEnd Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext | |||||
| type Rep DownloadEnd Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep DownloadEnd = D1 ('MetaData "DownloadEnd" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "DownloadCompleted" 'PrefixI 'True) (S1 ('MetaSel ('Just "filePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "navigationInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NavigationInfo)) :+: C1 ('MetaCons "DownloadCanceled" 'PrefixI 'True) (S1 ('MetaSel ('Just "navigationInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NavigationInfo))) | |||||
data BrowsingContextEvent Source #
Event from a browsing context
Constructors
| ContextCreated Info | |
| ContextDestroyed Info | |
| DomContentLoaded NavigationInfo | |
| DownloadEnd | |
| DownloadWillBegin DownloadWillBegin | |
| FragmentNavigated NavigationInfo | |
| HistoryUpdated HistoryUpdated | |
| Load NavigationInfo | |
| NavigationAborted NavigationInfo | |
| NavigationCommitted NavigationInfo | |
| NavigationFailed NavigationInfo | |
| NavigationStarted NavigationInfo | |
| UserPromptClosed UserPromptClosed | |
| UserPromptOpened UserPromptOpened |
Instances
| FromJSON BrowsingContextEvent Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods parseJSON :: Value -> Parser BrowsingContextEvent # parseJSONList :: Value -> Parser [BrowsingContextEvent] # | |||||
| Generic BrowsingContextEvent Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
Methods from :: BrowsingContextEvent -> Rep BrowsingContextEvent x # to :: Rep BrowsingContextEvent x -> BrowsingContextEvent # | |||||
| Show BrowsingContextEvent Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods showsPrec :: Int -> BrowsingContextEvent -> ShowS # show :: BrowsingContextEvent -> String # showList :: [BrowsingContextEvent] -> ShowS # | |||||
| Eq BrowsingContextEvent Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods (==) :: BrowsingContextEvent -> BrowsingContextEvent -> Bool # (/=) :: BrowsingContextEvent -> BrowsingContextEvent -> Bool # | |||||
| type Rep BrowsingContextEvent Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep BrowsingContextEvent = D1 ('MetaData "BrowsingContextEvent" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'False) (((C1 ('MetaCons "ContextCreated" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Info)) :+: (C1 ('MetaCons "ContextDestroyed" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Info)) :+: C1 ('MetaCons "DomContentLoaded" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NavigationInfo)))) :+: ((C1 ('MetaCons "DownloadEnd" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DownloadWillBegin" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DownloadWillBegin))) :+: (C1 ('MetaCons "FragmentNavigated" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NavigationInfo)) :+: C1 ('MetaCons "HistoryUpdated" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HistoryUpdated))))) :+: ((C1 ('MetaCons "Load" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NavigationInfo)) :+: (C1 ('MetaCons "NavigationAborted" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NavigationInfo)) :+: C1 ('MetaCons "NavigationCommitted" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NavigationInfo)))) :+: ((C1 ('MetaCons "NavigationFailed" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NavigationInfo)) :+: C1 ('MetaCons "NavigationStarted" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NavigationInfo))) :+: (C1 ('MetaCons "UserPromptClosed" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UserPromptClosed)) :+: C1 ('MetaCons "UserPromptOpened" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UserPromptOpened)))))) | |||||
for getTree command
Instances
| ToJSON GetTree Source # | |||||
| Generic GetTree Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
| |||||
| Show GetTree Source # | |||||
| Eq GetTree Source # | |||||
| type Rep GetTree Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep GetTree = D1 ('MetaData "GetTree" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkGetTree" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxDepth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JSUInt)) :*: S1 ('MetaSel ('Just "root") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BrowsingContext)))) | |||||
newtype GetTreeResult Source #
Constructors
| MkGetTreeResult | |
Instances
| FromJSON GetTreeResult Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods parseJSON :: Value -> Parser GetTreeResult # parseJSONList :: Value -> Parser [GetTreeResult] # | |||||
| Generic GetTreeResult Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
| |||||
| Show GetTreeResult Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods showsPrec :: Int -> GetTreeResult -> ShowS # show :: GetTreeResult -> String # showList :: [GetTreeResult] -> ShowS # | |||||
| Eq GetTreeResult Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods (==) :: GetTreeResult -> GetTreeResult -> Bool # (/=) :: GetTreeResult -> GetTreeResult -> Bool # | |||||
| type Rep GetTreeResult Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep GetTreeResult = D1 ('MetaData "GetTreeResult" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkGetTreeResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "contexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Info]))) | |||||
data HandleUserPrompt Source #
for handleUserPrompt command
Constructors
| MkHandleUserPrompt | |
Instances
| ToJSON HandleUserPrompt Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods toJSON :: HandleUserPrompt -> Value # toEncoding :: HandleUserPrompt -> Encoding # toJSONList :: [HandleUserPrompt] -> Value # toEncodingList :: [HandleUserPrompt] -> Encoding # omitField :: HandleUserPrompt -> Bool # | |||||
| Generic HandleUserPrompt Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
Methods from :: HandleUserPrompt -> Rep HandleUserPrompt x # to :: Rep HandleUserPrompt x -> HandleUserPrompt # | |||||
| Show HandleUserPrompt Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods showsPrec :: Int -> HandleUserPrompt -> ShowS # show :: HandleUserPrompt -> String # showList :: [HandleUserPrompt] -> ShowS # | |||||
| Eq HandleUserPrompt Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods (==) :: HandleUserPrompt -> HandleUserPrompt -> Bool # (/=) :: HandleUserPrompt -> HandleUserPrompt -> Bool # | |||||
| type Rep HandleUserPrompt Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep HandleUserPrompt = D1 ('MetaData "HandleUserPrompt" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkHandleUserPrompt" 'PrefixI 'True) (S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BrowsingContext) :*: (S1 ('MetaSel ('Just "accept") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "userText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) | |||||
data LocateNodes Source #
for locateNodes command
Constructors
| MkLocateNodes | |
Fields | |
Instances
| ToJSON LocateNodes Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods toJSON :: LocateNodes -> Value # toEncoding :: LocateNodes -> Encoding # toJSONList :: [LocateNodes] -> Value # toEncodingList :: [LocateNodes] -> Encoding # omitField :: LocateNodes -> Bool # | |||||
| Generic LocateNodes Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
| |||||
| Show LocateNodes Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods showsPrec :: Int -> LocateNodes -> ShowS # show :: LocateNodes -> String # showList :: [LocateNodes] -> ShowS # | |||||
| Eq LocateNodes Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext | |||||
| type Rep LocateNodes Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep LocateNodes = D1 ('MetaData "LocateNodes" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkLocateNodes" 'PrefixI 'True) ((S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BrowsingContext) :*: S1 ('MetaSel ('Just "locator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Locator)) :*: (S1 ('MetaSel ('Just "maxNodeCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JSUInt)) :*: (S1 ('MetaSel ('Just "serializationOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value)) :*: S1 ('MetaSel ('Just "startNodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SharedReference])))))) | |||||
newtype LocateNodesResult Source #
Constructors
| MkLocateNodesResult | |
Fields
| |
Instances
| FromJSON LocateNodesResult Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods parseJSON :: Value -> Parser LocateNodesResult # parseJSONList :: Value -> Parser [LocateNodesResult] # | |||||
| Generic LocateNodesResult Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
Methods from :: LocateNodesResult -> Rep LocateNodesResult x # to :: Rep LocateNodesResult x -> LocateNodesResult # | |||||
| Show LocateNodesResult Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods showsPrec :: Int -> LocateNodesResult -> ShowS # show :: LocateNodesResult -> String # showList :: [LocateNodesResult] -> ShowS # | |||||
| Eq LocateNodesResult Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods (==) :: LocateNodesResult -> LocateNodesResult -> Bool # (/=) :: LocateNodesResult -> LocateNodesResult -> Bool # | |||||
| type Rep LocateNodesResult Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep LocateNodesResult = D1 ('MetaData "LocateNodesResult" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkLocateNodesResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "nodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [NodeRemoteValue]))) | |||||
for navigate command
Constructors
| MkNavigate | |
Fields
| |
Instances
data NavigateResult Source #
Constructors
| MkNavigateResult | |
Fields
| |
Instances
newtype PrintResult Source #
Constructors
| MkPrintResult | |
Fields
| |
Instances
| FromJSON PrintResult Source # | |
Defined in WebDriverPreCore.BiDi.BrowsingContext | |
| Show PrintResult Source # | |
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods showsPrec :: Int -> PrintResult -> ShowS # show :: PrintResult -> String # showList :: [PrintResult] -> ShowS # | |
| Eq PrintResult Source # | |
Defined in WebDriverPreCore.BiDi.BrowsingContext | |
for reload command
Constructors
| MkReload | |
Fields | |
Instances
| ToJSON Reload Source # | |||||
| Generic Reload Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
| |||||
| Show Reload Source # | |||||
| Eq Reload Source # | |||||
| type Rep Reload Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep Reload = D1 ('MetaData "Reload" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkReload" 'PrefixI 'True) (S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BrowsingContext) :*: (S1 ('MetaSel ('Just "ignoreCache") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "wait") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReadinessState))))) | |||||
data SetViewport Source #
for setViewport command
Constructors
| MkSetViewport | |
Fields
| |
Instances
| ToJSON SetViewport Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods toJSON :: SetViewport -> Value # toEncoding :: SetViewport -> Encoding # toJSONList :: [SetViewport] -> Value # toEncodingList :: [SetViewport] -> Encoding # omitField :: SetViewport -> Bool # | |||||
| Generic SetViewport Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
| |||||
| Show SetViewport Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods showsPrec :: Int -> SetViewport -> ShowS # show :: SetViewport -> String # showList :: [SetViewport] -> ShowS # | |||||
| Eq SetViewport Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext | |||||
| type Rep SetViewport Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep SetViewport = D1 ('MetaData "SetViewport" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSetViewport" 'PrefixI 'True) ((S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BrowsingContext)) :*: S1 ('MetaSel ('Just "viewport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Maybe Viewport)))) :*: (S1 ('MetaSel ('Just "devicePixelRatio") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Maybe Float))) :*: S1 ('MetaSel ('Just "userContexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))) | |||||
data UserPromptClosed Source #
Constructors
| MkUserPromptClosed | |
Fields
| |
Instances
| FromJSON UserPromptClosed Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods parseJSON :: Value -> Parser UserPromptClosed # parseJSONList :: Value -> Parser [UserPromptClosed] # | |||||
| Generic UserPromptClosed Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
Methods from :: UserPromptClosed -> Rep UserPromptClosed x # to :: Rep UserPromptClosed x -> UserPromptClosed # | |||||
| Show UserPromptClosed Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods showsPrec :: Int -> UserPromptClosed -> ShowS # show :: UserPromptClosed -> String # showList :: [UserPromptClosed] -> ShowS # | |||||
| Eq UserPromptClosed Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods (==) :: UserPromptClosed -> UserPromptClosed -> Bool # (/=) :: UserPromptClosed -> UserPromptClosed -> Bool # | |||||
| type Rep UserPromptClosed Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep UserPromptClosed = D1 ('MetaData "UserPromptClosed" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkUserPromptClosed" 'PrefixI 'True) ((S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BrowsingContext) :*: S1 ('MetaSel ('Just "accepted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "promptType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UserPromptType) :*: S1 ('MetaSel ('Just "userText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) | |||||
data UserPromptOpened Source #
Constructors
| MkUserPromptOpened | |
Fields | |
Instances
| FromJSON UserPromptOpened Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods parseJSON :: Value -> Parser UserPromptOpened # parseJSONList :: Value -> Parser [UserPromptOpened] # | |||||
| Generic UserPromptOpened Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
Methods from :: UserPromptOpened -> Rep UserPromptOpened x # to :: Rep UserPromptOpened x -> UserPromptOpened # | |||||
| Show UserPromptOpened Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods showsPrec :: Int -> UserPromptOpened -> ShowS # show :: UserPromptOpened -> String # showList :: [UserPromptOpened] -> ShowS # | |||||
| Eq UserPromptOpened Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods (==) :: UserPromptOpened -> UserPromptOpened -> Bool # (/=) :: UserPromptOpened -> UserPromptOpened -> Bool # | |||||
| type Rep UserPromptOpened Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep UserPromptOpened = D1 ('MetaData "UserPromptOpened" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkUserPromptOpened" 'PrefixI 'True) ((S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BrowsingContext) :*: S1 ('MetaSel ('Just "handler") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UserPromptHandlerType)) :*: (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "promptType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UserPromptType) :*: S1 ('MetaSel ('Just "defaultValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) | |||||
data ScreenShotOrigin Source #
Instances
| ToJSON ScreenShotOrigin Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods toJSON :: ScreenShotOrigin -> Value # toEncoding :: ScreenShotOrigin -> Encoding # toJSONList :: [ScreenShotOrigin] -> Value # toEncodingList :: [ScreenShotOrigin] -> Encoding # omitField :: ScreenShotOrigin -> Bool # | |||||
| Generic ScreenShotOrigin Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
Methods from :: ScreenShotOrigin -> Rep ScreenShotOrigin x # to :: Rep ScreenShotOrigin x -> ScreenShotOrigin # | |||||
| Show ScreenShotOrigin Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods showsPrec :: Int -> ScreenShotOrigin -> ShowS # show :: ScreenShotOrigin -> String # showList :: [ScreenShotOrigin] -> ShowS # | |||||
| Eq ScreenShotOrigin Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods (==) :: ScreenShotOrigin -> ScreenShotOrigin -> Bool # (/=) :: ScreenShotOrigin -> ScreenShotOrigin -> Bool # | |||||
| type Rep ScreenShotOrigin Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext | |||||
data ClipRectangle Source #
Clip rectangle for screenshots
Constructors
| BoxClipRectangle | |
| ElementClipRectangle | |
Instances
| ToJSON ClipRectangle Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods toJSON :: ClipRectangle -> Value # toEncoding :: ClipRectangle -> Encoding # toJSONList :: [ClipRectangle] -> Value # toEncodingList :: [ClipRectangle] -> Encoding # omitField :: ClipRectangle -> Bool # | |||||
| Generic ClipRectangle Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
| |||||
| Show ClipRectangle Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods showsPrec :: Int -> ClipRectangle -> ShowS # show :: ClipRectangle -> String # showList :: [ClipRectangle] -> ShowS # | |||||
| Eq ClipRectangle Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods (==) :: ClipRectangle -> ClipRectangle -> Bool # (/=) :: ClipRectangle -> ClipRectangle -> Bool # | |||||
| type Rep ClipRectangle Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep ClipRectangle = D1 ('MetaData "ClipRectangle" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "BoxClipRectangle" 'PrefixI 'True) ((S1 ('MetaSel ('Just "x") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Float) :*: S1 ('MetaSel ('Just "y") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Float)) :*: (S1 ('MetaSel ('Just "width") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Float) :*: S1 ('MetaSel ('Just "height") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Float))) :+: C1 ('MetaCons "ElementClipRectangle" 'PrefixI 'True) (S1 ('MetaSel ('Just "element") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |||||
data ImageFormat Source #
Image format specification
Instances
| ToJSON ImageFormat Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods toJSON :: ImageFormat -> Value # toEncoding :: ImageFormat -> Encoding # toJSONList :: [ImageFormat] -> Value # toEncodingList :: [ImageFormat] -> Encoding # omitField :: ImageFormat -> Bool # | |||||
| Generic ImageFormat Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
| |||||
| Show ImageFormat Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods showsPrec :: Int -> ImageFormat -> ShowS # show :: ImageFormat -> String # showList :: [ImageFormat] -> ShowS # | |||||
| Eq ImageFormat Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext | |||||
| type Rep ImageFormat Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep ImageFormat = D1 ('MetaData "ImageFormat" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkImageFormat" 'PrefixI 'True) (S1 ('MetaSel ('Just "imageType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "quality") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Float)))) | |||||
data Orientation Source #
Instances
| ToJSON Orientation Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods toJSON :: Orientation -> Value # toEncoding :: Orientation -> Encoding # toJSONList :: [Orientation] -> Value # toEncodingList :: [Orientation] -> Encoding # omitField :: Orientation -> Bool # | |||||
| Generic Orientation Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
| |||||
| Show Orientation Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods showsPrec :: Int -> Orientation -> ShowS # show :: Orientation -> String # showList :: [Orientation] -> ShowS # | |||||
| Eq Orientation Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext | |||||
| type Rep Orientation Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext | |||||
data ReadinessState Source #
Readiness state of a browsing context
Constructors
| None | |
| Interactive | |
| Complete |
Instances
| ToJSON ReadinessState Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods toJSON :: ReadinessState -> Value # toEncoding :: ReadinessState -> Encoding # toJSONList :: [ReadinessState] -> Value # toEncodingList :: [ReadinessState] -> Encoding # omitField :: ReadinessState -> Bool # | |||||
| Generic ReadinessState Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
Methods from :: ReadinessState -> Rep ReadinessState x # to :: Rep ReadinessState x -> ReadinessState # | |||||
| Show ReadinessState Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods showsPrec :: Int -> ReadinessState -> ShowS # show :: ReadinessState -> String # showList :: [ReadinessState] -> ShowS # | |||||
| Eq ReadinessState Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods (==) :: ReadinessState -> ReadinessState -> Bool # (/=) :: ReadinessState -> ReadinessState -> Bool # | |||||
| type Rep ReadinessState Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep ReadinessState = D1 ('MetaData "ReadinessState" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "None" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Interactive" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Complete" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
data UserPromptType Source #
User prompt types
Constructors
| Alert | |
| BeforeUnload | |
| Confirm | |
| Prompt |
Instances
| FromJSON UserPromptType Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods parseJSON :: Value -> Parser UserPromptType # parseJSONList :: Value -> Parser [UserPromptType] # | |||||
| ToJSON UserPromptType Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods toJSON :: UserPromptType -> Value # toEncoding :: UserPromptType -> Encoding # toJSONList :: [UserPromptType] -> Value # toEncodingList :: [UserPromptType] -> Encoding # omitField :: UserPromptType -> Bool # | |||||
| Generic UserPromptType Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
Methods from :: UserPromptType -> Rep UserPromptType x # to :: Rep UserPromptType x -> UserPromptType # | |||||
| Show UserPromptType Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods showsPrec :: Int -> UserPromptType -> ShowS # show :: UserPromptType -> String # showList :: [UserPromptType] -> ShowS # | |||||
| Eq UserPromptType Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Methods (==) :: UserPromptType -> UserPromptType -> Bool # (/=) :: UserPromptType -> UserPromptType -> Bool # | |||||
| type Rep UserPromptType Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep UserPromptType = D1 ('MetaData "UserPromptType" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'False) ((C1 ('MetaCons "Alert" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BeforeUnload" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Confirm" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Prompt" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
Print page
Instances
| ToJSON PrintPage Source # | |||||
| Generic PrintPage Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
| |||||
| Show PrintPage Source # | |||||
| Eq PrintPage Source # | |||||
| type Rep PrintPage Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep PrintPage = D1 ('MetaData "PrintPage" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkPrintPage" 'PrefixI 'True) (S1 ('MetaSel ('Just "height") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Float)) :*: S1 ('MetaSel ('Just "width") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Float)))) | |||||
Viewport dimensions
Constructors
| MkViewport | |
Instances
| ToJSON Viewport Source # | |||||
| Generic Viewport Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext Associated Types
| |||||
| Show Viewport Source # | |||||
| Eq Viewport Source # | |||||
| type Rep Viewport Source # | |||||
Defined in WebDriverPreCore.BiDi.BrowsingContext type Rep Viewport = D1 ('MetaData "Viewport" "WebDriverPreCore.BiDi.BrowsingContext" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkViewport" 'PrefixI 'True) (S1 ('MetaSel ('Just "width") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt) :*: S1 ('MetaSel ('Just "height") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt))) | |||||
Capabilities
data CapabilitiesResult Source #
Capabilities Result
Constructors
| MkCapabilitiesResult | |
Fields | |
Instances
| FromJSON CapabilitiesResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Methods parseJSON :: Value -> Parser CapabilitiesResult # parseJSONList :: Value -> Parser [CapabilitiesResult] # | |||||
| ToJSON CapabilitiesResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Methods toJSON :: CapabilitiesResult -> Value # toEncoding :: CapabilitiesResult -> Encoding # toJSONList :: [CapabilitiesResult] -> Value # toEncodingList :: [CapabilitiesResult] -> Encoding # omitField :: CapabilitiesResult -> Bool # | |||||
| Generic CapabilitiesResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Associated Types
Methods from :: CapabilitiesResult -> Rep CapabilitiesResult x # to :: Rep CapabilitiesResult x -> CapabilitiesResult # | |||||
| Show CapabilitiesResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Methods showsPrec :: Int -> CapabilitiesResult -> ShowS # show :: CapabilitiesResult -> String # showList :: [CapabilitiesResult] -> ShowS # | |||||
| Eq CapabilitiesResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Methods (==) :: CapabilitiesResult -> CapabilitiesResult -> Bool # (/=) :: CapabilitiesResult -> CapabilitiesResult -> Bool # | |||||
| type Rep CapabilitiesResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities type Rep CapabilitiesResult = D1 ('MetaData "CapabilitiesResult" "WebDriverPreCore.BiDi.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkCapabilitiesResult" 'PrefixI 'True) (((S1 ('MetaSel ('Just "acceptInsecureCerts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "browserName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "browserVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "platformName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "setWindowRect") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "userAgent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "proxy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProxyConfiguration)) :*: (S1 ('MetaSel ('Just "unhandledPromptBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserPromptHandler)) :*: S1 ('MetaSel ('Just "webSocketUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))) | |||||
data Capability Source #
Capability Request
Constructors
| MkCapability | |
Fields | |
Instances
| ToJSON Capability Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Methods toJSON :: Capability -> Value # toEncoding :: Capability -> Encoding # toJSONList :: [Capability] -> Value # toEncodingList :: [Capability] -> Encoding # omitField :: Capability -> Bool # | |||||
| Generic Capability Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Associated Types
| |||||
| Show Capability Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Methods showsPrec :: Int -> Capability -> ShowS # show :: Capability -> String # showList :: [Capability] -> ShowS # | |||||
| Eq Capability Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities | |||||
| type Rep Capability Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities type Rep Capability = D1 ('MetaData "Capability" "WebDriverPreCore.BiDi.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkCapability" 'PrefixI 'True) ((S1 ('MetaSel ('Just "acceptInsecureCerts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "browserName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "browserVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "webSocketUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "platformName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "proxy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProxyConfiguration)) :*: S1 ('MetaSel ('Just "unhandledPromptBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserPromptHandler)))))) | |||||
data UserPromptHandlerType Source #
User Prompt Handler Type
Instances
| FromJSON UserPromptHandlerType Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Methods parseJSON :: Value -> Parser UserPromptHandlerType # parseJSONList :: Value -> Parser [UserPromptHandlerType] # | |||||
| ToJSON UserPromptHandlerType Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Methods toJSON :: UserPromptHandlerType -> Value # toEncoding :: UserPromptHandlerType -> Encoding # toJSONList :: [UserPromptHandlerType] -> Value # toEncodingList :: [UserPromptHandlerType] -> Encoding # omitField :: UserPromptHandlerType -> Bool # | |||||
| Generic UserPromptHandlerType Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Associated Types
Methods from :: UserPromptHandlerType -> Rep UserPromptHandlerType x # to :: Rep UserPromptHandlerType x -> UserPromptHandlerType # | |||||
| Show UserPromptHandlerType Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Methods showsPrec :: Int -> UserPromptHandlerType -> ShowS # show :: UserPromptHandlerType -> String # showList :: [UserPromptHandlerType] -> ShowS # | |||||
| Eq UserPromptHandlerType Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Methods (==) :: UserPromptHandlerType -> UserPromptHandlerType -> Bool # (/=) :: UserPromptHandlerType -> UserPromptHandlerType -> Bool # | |||||
| type Rep UserPromptHandlerType Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities type Rep UserPromptHandlerType = D1 ('MetaData "UserPromptHandlerType" "WebDriverPreCore.BiDi.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "Accept" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Dismiss" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Ignore" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
data Capabilities Source #
Capabilities Request
Constructors
| MkCapabilities | |
Fields
| |
Instances
| ToJSON Capabilities Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Methods toJSON :: Capabilities -> Value # toEncoding :: Capabilities -> Encoding # toJSONList :: [Capabilities] -> Value # toEncodingList :: [Capabilities] -> Encoding # omitField :: Capabilities -> Bool # | |||||
| Generic Capabilities Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Associated Types
| |||||
| Show Capabilities Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Methods showsPrec :: Int -> Capabilities -> ShowS # show :: Capabilities -> String # showList :: [Capabilities] -> ShowS # | |||||
| Eq Capabilities Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities | |||||
| type Rep Capabilities Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities type Rep Capabilities = D1 ('MetaData "Capabilities" "WebDriverPreCore.BiDi.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "alwaysMatch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Capability)) :*: S1 ('MetaSel ('Just "firstMatch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Capability]))) | |||||
data ProxyConfiguration Source #
Proxy Configuration
Constructors
| AutodetectProxyConfiguration | |
| DirectProxyConfiguration | |
| ManualProxyConfiguration | |
| PacProxyConfiguration | |
Fields | |
| SystemProxyConfiguration | |
Instances
| FromJSON ProxyConfiguration Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Methods parseJSON :: Value -> Parser ProxyConfiguration # parseJSONList :: Value -> Parser [ProxyConfiguration] # | |||||
| ToJSON ProxyConfiguration Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Methods toJSON :: ProxyConfiguration -> Value # toEncoding :: ProxyConfiguration -> Encoding # toJSONList :: [ProxyConfiguration] -> Value # toEncodingList :: [ProxyConfiguration] -> Encoding # omitField :: ProxyConfiguration -> Bool # | |||||
| Generic ProxyConfiguration Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Associated Types
Methods from :: ProxyConfiguration -> Rep ProxyConfiguration x # to :: Rep ProxyConfiguration x -> ProxyConfiguration # | |||||
| Show ProxyConfiguration Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Methods showsPrec :: Int -> ProxyConfiguration -> ShowS # show :: ProxyConfiguration -> String # showList :: [ProxyConfiguration] -> ShowS # | |||||
| Eq ProxyConfiguration Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Methods (==) :: ProxyConfiguration -> ProxyConfiguration -> Bool # (/=) :: ProxyConfiguration -> ProxyConfiguration -> Bool # | |||||
| type Rep ProxyConfiguration Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities type Rep ProxyConfiguration = D1 ('MetaData "ProxyConfiguration" "WebDriverPreCore.BiDi.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) ((C1 ('MetaCons "AutodetectProxyConfiguration" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DirectProxyConfiguration" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ManualProxyConfiguration" 'PrefixI 'True) ((S1 ('MetaSel ('Just "httpProxy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sslProxy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "socksProxyConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SocksProxyConfiguration)) :*: S1 ('MetaSel ('Just "noProxy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :+: (C1 ('MetaCons "PacProxyConfiguration" 'PrefixI 'True) (S1 ('MetaSel ('Just "proxyAutoconfigUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: C1 ('MetaCons "SystemProxyConfiguration" 'PrefixI 'False) (U1 :: Type -> Type)))) | |||||
data UserPromptHandler Source #
User Prompt Handler
Constructors
| MkUserPromptHandler | |
Instances
| FromJSON UserPromptHandler Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Methods parseJSON :: Value -> Parser UserPromptHandler # parseJSONList :: Value -> Parser [UserPromptHandler] # | |||||
| ToJSON UserPromptHandler Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Methods toJSON :: UserPromptHandler -> Value # toEncoding :: UserPromptHandler -> Encoding # toJSONList :: [UserPromptHandler] -> Value # toEncodingList :: [UserPromptHandler] -> Encoding # omitField :: UserPromptHandler -> Bool # | |||||
| Generic UserPromptHandler Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Associated Types
Methods from :: UserPromptHandler -> Rep UserPromptHandler x # to :: Rep UserPromptHandler x -> UserPromptHandler # | |||||
| Show UserPromptHandler Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Methods showsPrec :: Int -> UserPromptHandler -> ShowS # show :: UserPromptHandler -> String # showList :: [UserPromptHandler] -> ShowS # | |||||
| Eq UserPromptHandler Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Methods (==) :: UserPromptHandler -> UserPromptHandler -> Bool # (/=) :: UserPromptHandler -> UserPromptHandler -> Bool # | |||||
| type Rep UserPromptHandler Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities type Rep UserPromptHandler = D1 ('MetaData "UserPromptHandler" "WebDriverPreCore.BiDi.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkUserPromptHandler" 'PrefixI 'True) ((S1 ('MetaSel ('Just "alert") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserPromptHandlerType)) :*: (S1 ('MetaSel ('Just "beforeUnload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserPromptHandlerType)) :*: S1 ('MetaSel ('Just "confirm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserPromptHandlerType)))) :*: (S1 ('MetaSel ('Just "defaultHandler") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserPromptHandlerType)) :*: (S1 ('MetaSel ('Just "fileHandler") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserPromptHandlerType)) :*: S1 ('MetaSel ('Just "prompt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserPromptHandlerType)))))) | |||||
data SocksProxyConfiguration Source #
Socks Proxy Configuration
Constructors
| MkSocksProxyConfiguration | |
Fields
| |
Instances
| FromJSON SocksProxyConfiguration Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Methods parseJSON :: Value -> Parser SocksProxyConfiguration # parseJSONList :: Value -> Parser [SocksProxyConfiguration] # | |||||
| ToJSON SocksProxyConfiguration Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Methods toJSON :: SocksProxyConfiguration -> Value # toEncoding :: SocksProxyConfiguration -> Encoding # toJSONList :: [SocksProxyConfiguration] -> Value # | |||||
| Generic SocksProxyConfiguration Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Associated Types
Methods from :: SocksProxyConfiguration -> Rep SocksProxyConfiguration x # to :: Rep SocksProxyConfiguration x -> SocksProxyConfiguration # | |||||
| Show SocksProxyConfiguration Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Methods showsPrec :: Int -> SocksProxyConfiguration -> ShowS # show :: SocksProxyConfiguration -> String # showList :: [SocksProxyConfiguration] -> ShowS # | |||||
| Eq SocksProxyConfiguration Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities Methods (==) :: SocksProxyConfiguration -> SocksProxyConfiguration -> Bool # (/=) :: SocksProxyConfiguration -> SocksProxyConfiguration -> Bool # | |||||
| type Rep SocksProxyConfiguration Source # | |||||
Defined in WebDriverPreCore.BiDi.Capabilities type Rep SocksProxyConfiguration = D1 ('MetaData "SocksProxyConfiguration" "WebDriverPreCore.BiDi.Capabilities" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSocksProxyConfiguration" 'PrefixI 'True) (S1 ('MetaSel ('Just "socksProxy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "socksVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Word8))) | |||||
Event
Constructors
| BrowsingContextEvent BrowsingContextEvent | |
| InputEvent FileDialogOpened | |
| LogEvent LogEvent | |
| NetworkEvent NetworkEvent | |
| ScriptEvent ScriptEvent |
Instances
| FromJSON Event Source # | |||||
Defined in WebDriverPreCore.BiDi.Event | |||||
| Generic Event Source # | |||||
Defined in WebDriverPreCore.BiDi.Event Associated Types
| |||||
| Show Event Source # | |||||
| Eq Event Source # | |||||
| type Rep Event Source # | |||||
Defined in WebDriverPreCore.BiDi.Event type Rep Event = D1 ('MetaData "Event" "WebDriverPreCore.BiDi.Event" "webdriver-precore-0.2.0.0-inplace" 'False) ((C1 ('MetaCons "BrowsingContextEvent" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BrowsingContextEvent)) :+: C1 ('MetaCons "InputEvent" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FileDialogOpened))) :+: (C1 ('MetaCons "LogEvent" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LogEvent)) :+: (C1 ('MetaCons "NetworkEvent" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NetworkEvent)) :+: C1 ('MetaCons "ScriptEvent" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ScriptEvent))))) | |||||
data Subscription (m :: Type -> Type) where Source #
Constructors
| SingleSubscription | |
Fields
| |
| MultiSubscription | |
Fields
| |
| OffSpecSubscription | |
Fields
| |
mkMultiSubscription :: [KnownSubscriptionType] -> [BrowsingContext] -> [UserContext] -> (Event -> m ()) -> Subscription m Source #
mkSubscription :: forall m r. FromJSON r => KnownSubscriptionType -> [BrowsingContext] -> [UserContext] -> (r -> m ()) -> Subscription m Source #
mkOffSpecSubscription :: [OffSpecSubscriptionType] -> [BrowsingContext] -> [UserContext] -> (Value -> m ()) -> Subscription m Source #
Create a subscription for off-specification event types.
Use this only as a fallback when a driver supports events not covered by this library. Prefer using standard subscription constructors when available.
Emulation
data ScreenOrientationOverride Source #
Constructors
| MkScreenOrientationOverride | |
Instances
| ToJSON ScreenOrientationOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods toJSON :: ScreenOrientationOverride -> Value # toEncoding :: ScreenOrientationOverride -> Encoding # toJSONList :: [ScreenOrientationOverride] -> Value # | |||||
| Generic ScreenOrientationOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Associated Types
Methods from :: ScreenOrientationOverride -> Rep ScreenOrientationOverride x # to :: Rep ScreenOrientationOverride x -> ScreenOrientationOverride # | |||||
| Show ScreenOrientationOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods showsPrec :: Int -> ScreenOrientationOverride -> ShowS # show :: ScreenOrientationOverride -> String # showList :: [ScreenOrientationOverride] -> ShowS # | |||||
| Eq ScreenOrientationOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods (==) :: ScreenOrientationOverride -> ScreenOrientationOverride -> Bool # (/=) :: ScreenOrientationOverride -> ScreenOrientationOverride -> Bool # | |||||
| type Rep ScreenOrientationOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation type Rep ScreenOrientationOverride = D1 ('MetaData "ScreenOrientationOverride" "WebDriverPreCore.BiDi.Emulation" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkScreenOrientationOverride" 'PrefixI 'True) (S1 ('MetaSel ('Just "natural") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ScreenOrientationNatural) :*: S1 ('MetaSel ('Just "screenOrientationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ScreenOrientationType))) | |||||
data SetForcedColorsModeThemeOverride Source #
Constructors
| MkSetForcedColorsModeThemeOverride | |
Fields | |
Instances
| ToJSON SetForcedColorsModeThemeOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation | |||||
| Generic SetForcedColorsModeThemeOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Associated Types
| |||||
| Show SetForcedColorsModeThemeOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods showsPrec :: Int -> SetForcedColorsModeThemeOverride -> ShowS # | |||||
| Eq SetForcedColorsModeThemeOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation | |||||
| type Rep SetForcedColorsModeThemeOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation type Rep SetForcedColorsModeThemeOverride = D1 ('MetaData "SetForcedColorsModeThemeOverride" "WebDriverPreCore.BiDi.Emulation" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSetForcedColorsModeThemeOverride" 'PrefixI 'True) (S1 ('MetaSel ('Just "theme") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ForcedColorsModeTheme)) :*: (S1 ('MetaSel ('Just "contexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BrowsingContext])) :*: S1 ('MetaSel ('Just "userContexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserContext]))))) | |||||
data SetGeolocationOverride Source #
Constructors
| MkSetGeolocationOverride | |
Fields
| |
Instances
| ToJSON SetGeolocationOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods toJSON :: SetGeolocationOverride -> Value # toEncoding :: SetGeolocationOverride -> Encoding # toJSONList :: [SetGeolocationOverride] -> Value # toEncodingList :: [SetGeolocationOverride] -> Encoding # omitField :: SetGeolocationOverride -> Bool # | |||||
| Generic SetGeolocationOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Associated Types
Methods from :: SetGeolocationOverride -> Rep SetGeolocationOverride x # to :: Rep SetGeolocationOverride x -> SetGeolocationOverride # | |||||
| Show SetGeolocationOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods showsPrec :: Int -> SetGeolocationOverride -> ShowS # show :: SetGeolocationOverride -> String # showList :: [SetGeolocationOverride] -> ShowS # | |||||
| Eq SetGeolocationOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods (==) :: SetGeolocationOverride -> SetGeolocationOverride -> Bool # (/=) :: SetGeolocationOverride -> SetGeolocationOverride -> Bool # | |||||
| type Rep SetGeolocationOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation type Rep SetGeolocationOverride = D1 ('MetaData "SetGeolocationOverride" "WebDriverPreCore.BiDi.Emulation" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSetGeolocationOverride" 'PrefixI 'True) (S1 ('MetaSel ('Just "override") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GeoProperty) :*: (S1 ('MetaSel ('Just "contexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BrowsingContext])) :*: S1 ('MetaSel ('Just "userContexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserContext]))))) | |||||
data SetLocaleOverride Source #
Constructors
| MkSetLocaleOverride | |
Fields
| |
Instances
| ToJSON SetLocaleOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods toJSON :: SetLocaleOverride -> Value # toEncoding :: SetLocaleOverride -> Encoding # toJSONList :: [SetLocaleOverride] -> Value # toEncodingList :: [SetLocaleOverride] -> Encoding # omitField :: SetLocaleOverride -> Bool # | |||||
| Generic SetLocaleOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Associated Types
Methods from :: SetLocaleOverride -> Rep SetLocaleOverride x # to :: Rep SetLocaleOverride x -> SetLocaleOverride # | |||||
| Show SetLocaleOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods showsPrec :: Int -> SetLocaleOverride -> ShowS # show :: SetLocaleOverride -> String # showList :: [SetLocaleOverride] -> ShowS # | |||||
| Eq SetLocaleOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods (==) :: SetLocaleOverride -> SetLocaleOverride -> Bool # (/=) :: SetLocaleOverride -> SetLocaleOverride -> Bool # | |||||
| type Rep SetLocaleOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation type Rep SetLocaleOverride = D1 ('MetaData "SetLocaleOverride" "WebDriverPreCore.BiDi.Emulation" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSetLocaleOverride" 'PrefixI 'True) (S1 ('MetaSel ('Just "locale") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "contexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BrowsingContext])) :*: S1 ('MetaSel ('Just "userContexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserContext]))))) | |||||
data SetNetworkConditions Source #
Constructors
| MkSetNetworkConditions | |
Fields | |
Instances
| ToJSON SetNetworkConditions Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods toJSON :: SetNetworkConditions -> Value # toEncoding :: SetNetworkConditions -> Encoding # toJSONList :: [SetNetworkConditions] -> Value # toEncodingList :: [SetNetworkConditions] -> Encoding # omitField :: SetNetworkConditions -> Bool # | |||||
| Generic SetNetworkConditions Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Associated Types
Methods from :: SetNetworkConditions -> Rep SetNetworkConditions x # to :: Rep SetNetworkConditions x -> SetNetworkConditions # | |||||
| Show SetNetworkConditions Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods showsPrec :: Int -> SetNetworkConditions -> ShowS # show :: SetNetworkConditions -> String # showList :: [SetNetworkConditions] -> ShowS # | |||||
| Eq SetNetworkConditions Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods (==) :: SetNetworkConditions -> SetNetworkConditions -> Bool # (/=) :: SetNetworkConditions -> SetNetworkConditions -> Bool # | |||||
| type Rep SetNetworkConditions Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation type Rep SetNetworkConditions = D1 ('MetaData "SetNetworkConditions" "WebDriverPreCore.BiDi.Emulation" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSetNetworkConditions" 'PrefixI 'True) (S1 ('MetaSel ('Just "networkConditions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkConditions)) :*: (S1 ('MetaSel ('Just "contexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BrowsingContext])) :*: S1 ('MetaSel ('Just "userContexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserContext]))))) | |||||
data SetScreenOrientationOverride Source #
Constructors
| MkSetScreenOrientationOverride | |
Fields | |
Instances
| ToJSON SetScreenOrientationOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods toJSON :: SetScreenOrientationOverride -> Value # toEncoding :: SetScreenOrientationOverride -> Encoding # toJSONList :: [SetScreenOrientationOverride] -> Value # toEncodingList :: [SetScreenOrientationOverride] -> Encoding # | |||||
| Generic SetScreenOrientationOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Associated Types
| |||||
| Show SetScreenOrientationOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods showsPrec :: Int -> SetScreenOrientationOverride -> ShowS # show :: SetScreenOrientationOverride -> String # showList :: [SetScreenOrientationOverride] -> ShowS # | |||||
| Eq SetScreenOrientationOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods (==) :: SetScreenOrientationOverride -> SetScreenOrientationOverride -> Bool # (/=) :: SetScreenOrientationOverride -> SetScreenOrientationOverride -> Bool # | |||||
| type Rep SetScreenOrientationOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation type Rep SetScreenOrientationOverride = D1 ('MetaData "SetScreenOrientationOverride" "WebDriverPreCore.BiDi.Emulation" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSetScreenOrientationOverride" 'PrefixI 'True) (S1 ('MetaSel ('Just "screenOrientation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ScreenOrientationOverride)) :*: (S1 ('MetaSel ('Just "contexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BrowsingContext])) :*: S1 ('MetaSel ('Just "userContexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserContext]))))) | |||||
data SetScreenSettingsOverride Source #
Constructors
| MkSetScreenSettingsOverride | |
Fields
| |
Instances
| ToJSON SetScreenSettingsOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods toJSON :: SetScreenSettingsOverride -> Value # toEncoding :: SetScreenSettingsOverride -> Encoding # toJSONList :: [SetScreenSettingsOverride] -> Value # | |||||
| Generic SetScreenSettingsOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Associated Types
Methods from :: SetScreenSettingsOverride -> Rep SetScreenSettingsOverride x # to :: Rep SetScreenSettingsOverride x -> SetScreenSettingsOverride # | |||||
| Show SetScreenSettingsOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods showsPrec :: Int -> SetScreenSettingsOverride -> ShowS # show :: SetScreenSettingsOverride -> String # showList :: [SetScreenSettingsOverride] -> ShowS # | |||||
| Eq SetScreenSettingsOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods (==) :: SetScreenSettingsOverride -> SetScreenSettingsOverride -> Bool # (/=) :: SetScreenSettingsOverride -> SetScreenSettingsOverride -> Bool # | |||||
| type Rep SetScreenSettingsOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation type Rep SetScreenSettingsOverride = D1 ('MetaData "SetScreenSettingsOverride" "WebDriverPreCore.BiDi.Emulation" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSetScreenSettingsOverride" 'PrefixI 'True) (S1 ('MetaSel ('Just "screenArea") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ScreenArea)) :*: (S1 ('MetaSel ('Just "contexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BrowsingContext])) :*: S1 ('MetaSel ('Just "userContexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserContext]))))) | |||||
data SetScriptingEnabled Source #
Constructors
| MkSetScriptingEnabled | |
Fields
| |
Instances
| ToJSON SetScriptingEnabled Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods toJSON :: SetScriptingEnabled -> Value # toEncoding :: SetScriptingEnabled -> Encoding # toJSONList :: [SetScriptingEnabled] -> Value # toEncodingList :: [SetScriptingEnabled] -> Encoding # omitField :: SetScriptingEnabled -> Bool # | |||||
| Generic SetScriptingEnabled Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Associated Types
Methods from :: SetScriptingEnabled -> Rep SetScriptingEnabled x # to :: Rep SetScriptingEnabled x -> SetScriptingEnabled # | |||||
| Show SetScriptingEnabled Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods showsPrec :: Int -> SetScriptingEnabled -> ShowS # show :: SetScriptingEnabled -> String # showList :: [SetScriptingEnabled] -> ShowS # | |||||
| Eq SetScriptingEnabled Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods (==) :: SetScriptingEnabled -> SetScriptingEnabled -> Bool # (/=) :: SetScriptingEnabled -> SetScriptingEnabled -> Bool # | |||||
| type Rep SetScriptingEnabled Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation type Rep SetScriptingEnabled = D1 ('MetaData "SetScriptingEnabled" "WebDriverPreCore.BiDi.Emulation" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSetScriptingEnabled" 'PrefixI 'True) (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "contexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BrowsingContext])) :*: S1 ('MetaSel ('Just "userContexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserContext]))))) | |||||
data SetTimezoneOverride Source #
Constructors
| MkSetTimezoneOverride | |
Fields
| |
Instances
| ToJSON SetTimezoneOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods toJSON :: SetTimezoneOverride -> Value # toEncoding :: SetTimezoneOverride -> Encoding # toJSONList :: [SetTimezoneOverride] -> Value # toEncodingList :: [SetTimezoneOverride] -> Encoding # omitField :: SetTimezoneOverride -> Bool # | |||||
| Generic SetTimezoneOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Associated Types
Methods from :: SetTimezoneOverride -> Rep SetTimezoneOverride x # to :: Rep SetTimezoneOverride x -> SetTimezoneOverride # | |||||
| Show SetTimezoneOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods showsPrec :: Int -> SetTimezoneOverride -> ShowS # show :: SetTimezoneOverride -> String # showList :: [SetTimezoneOverride] -> ShowS # | |||||
| Eq SetTimezoneOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods (==) :: SetTimezoneOverride -> SetTimezoneOverride -> Bool # (/=) :: SetTimezoneOverride -> SetTimezoneOverride -> Bool # | |||||
| type Rep SetTimezoneOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation type Rep SetTimezoneOverride = D1 ('MetaData "SetTimezoneOverride" "WebDriverPreCore.BiDi.Emulation" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSetTimezoneOverride" 'PrefixI 'True) (S1 ('MetaSel ('Just "timezone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "contexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BrowsingContext])) :*: S1 ('MetaSel ('Just "userContexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserContext]))))) | |||||
data SetTouchOverride Source #
Parameters for emulation.setTouchOverride command maxTouchPoints: (js-uint .ge 1) / null - the maximum number of touch points to emulate, or null to clear
Constructors
| MkSetTouchOverride | |
Fields
| |
Instances
| ToJSON SetTouchOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods toJSON :: SetTouchOverride -> Value # toEncoding :: SetTouchOverride -> Encoding # toJSONList :: [SetTouchOverride] -> Value # toEncodingList :: [SetTouchOverride] -> Encoding # omitField :: SetTouchOverride -> Bool # | |||||
| Generic SetTouchOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Associated Types
Methods from :: SetTouchOverride -> Rep SetTouchOverride x # to :: Rep SetTouchOverride x -> SetTouchOverride # | |||||
| Show SetTouchOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods showsPrec :: Int -> SetTouchOverride -> ShowS # show :: SetTouchOverride -> String # showList :: [SetTouchOverride] -> ShowS # | |||||
| Eq SetTouchOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods (==) :: SetTouchOverride -> SetTouchOverride -> Bool # (/=) :: SetTouchOverride -> SetTouchOverride -> Bool # | |||||
| type Rep SetTouchOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation type Rep SetTouchOverride = D1 ('MetaData "SetTouchOverride" "WebDriverPreCore.BiDi.Emulation" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSetTouchOverride" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxTouchPoints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JSUInt)) :*: (S1 ('MetaSel ('Just "contexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BrowsingContext])) :*: S1 ('MetaSel ('Just "userContexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserContext]))))) | |||||
data SetUserAgentOverride Source #
Constructors
| MkSetUserAgentOverride | |
Fields
| |
Instances
| ToJSON SetUserAgentOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods toJSON :: SetUserAgentOverride -> Value # toEncoding :: SetUserAgentOverride -> Encoding # toJSONList :: [SetUserAgentOverride] -> Value # toEncodingList :: [SetUserAgentOverride] -> Encoding # omitField :: SetUserAgentOverride -> Bool # | |||||
| Generic SetUserAgentOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Associated Types
Methods from :: SetUserAgentOverride -> Rep SetUserAgentOverride x # to :: Rep SetUserAgentOverride x -> SetUserAgentOverride # | |||||
| Show SetUserAgentOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods showsPrec :: Int -> SetUserAgentOverride -> ShowS # show :: SetUserAgentOverride -> String # showList :: [SetUserAgentOverride] -> ShowS # | |||||
| Eq SetUserAgentOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods (==) :: SetUserAgentOverride -> SetUserAgentOverride -> Bool # (/=) :: SetUserAgentOverride -> SetUserAgentOverride -> Bool # | |||||
| type Rep SetUserAgentOverride Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation type Rep SetUserAgentOverride = D1 ('MetaData "SetUserAgentOverride" "WebDriverPreCore.BiDi.Emulation" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSetUserAgentOverride" 'PrefixI 'True) (S1 ('MetaSel ('Just "userAgent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "contexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BrowsingContext])) :*: S1 ('MetaSel ('Just "userContexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserContext]))))) | |||||
data GeoProperty Source #
Constructors
| Coordinates GeolocationCoordinates | |
| ClearCoodrdinates | |
| PositionError GeolocationPositionError |
Instances
| Generic GeoProperty Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Associated Types
| |||||
| Show GeoProperty Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods showsPrec :: Int -> GeoProperty -> ShowS # show :: GeoProperty -> String # showList :: [GeoProperty] -> ShowS # | |||||
| Eq GeoProperty Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation | |||||
| type Rep GeoProperty Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation type Rep GeoProperty = D1 ('MetaData "GeoProperty" "WebDriverPreCore.BiDi.Emulation" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "Coordinates" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GeolocationCoordinates)) :+: (C1 ('MetaCons "ClearCoodrdinates" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PositionError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GeolocationPositionError)))) | |||||
data GeolocationCoordinates Source #
Constructors
| MkGeolocationCoordinates | |
Instances
| ToJSON GeolocationCoordinates Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods toJSON :: GeolocationCoordinates -> Value # toEncoding :: GeolocationCoordinates -> Encoding # toJSONList :: [GeolocationCoordinates] -> Value # toEncodingList :: [GeolocationCoordinates] -> Encoding # omitField :: GeolocationCoordinates -> Bool # | |||||
| Generic GeolocationCoordinates Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Associated Types
Methods from :: GeolocationCoordinates -> Rep GeolocationCoordinates x # to :: Rep GeolocationCoordinates x -> GeolocationCoordinates # | |||||
| Show GeolocationCoordinates Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods showsPrec :: Int -> GeolocationCoordinates -> ShowS # show :: GeolocationCoordinates -> String # showList :: [GeolocationCoordinates] -> ShowS # | |||||
| Eq GeolocationCoordinates Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods (==) :: GeolocationCoordinates -> GeolocationCoordinates -> Bool # (/=) :: GeolocationCoordinates -> GeolocationCoordinates -> Bool # | |||||
| type Rep GeolocationCoordinates Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation type Rep GeolocationCoordinates = D1 ('MetaData "GeolocationCoordinates" "WebDriverPreCore.BiDi.Emulation" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkGeolocationCoordinates" 'PrefixI 'True) ((S1 ('MetaSel ('Just "latitude") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Float) :*: (S1 ('MetaSel ('Just "longitude") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Float) :*: S1 ('MetaSel ('Just "accuracy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Float)))) :*: ((S1 ('MetaSel ('Just "altitude") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Float)) :*: S1 ('MetaSel ('Just "altitudeAccuracy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Float))) :*: (S1 ('MetaSel ('Just "heading") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Float)) :*: S1 ('MetaSel ('Just "speed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Float)))))) | |||||
newtype GeolocationPositionError Source #
Constructors
| MkGeolocationPositionError | |
Instances
| ToJSON GeolocationPositionError Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods toJSON :: GeolocationPositionError -> Value # toEncoding :: GeolocationPositionError -> Encoding # toJSONList :: [GeolocationPositionError] -> Value # | |||||
| Generic GeolocationPositionError Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Associated Types
Methods from :: GeolocationPositionError -> Rep GeolocationPositionError x # to :: Rep GeolocationPositionError x -> GeolocationPositionError # | |||||
| Show GeolocationPositionError Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods showsPrec :: Int -> GeolocationPositionError -> ShowS # show :: GeolocationPositionError -> String # showList :: [GeolocationPositionError] -> ShowS # | |||||
| Eq GeolocationPositionError Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods (==) :: GeolocationPositionError -> GeolocationPositionError -> Bool # (/=) :: GeolocationPositionError -> GeolocationPositionError -> Bool # | |||||
| type Rep GeolocationPositionError Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation type Rep GeolocationPositionError = D1 ('MetaData "GeolocationPositionError" "WebDriverPreCore.BiDi.Emulation" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkGeolocationPositionError" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |||||
data ScreenArea Source #
Constructors
| MkScreenArea | |
Instances
| ToJSON ScreenArea Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods toJSON :: ScreenArea -> Value # toEncoding :: ScreenArea -> Encoding # toJSONList :: [ScreenArea] -> Value # toEncodingList :: [ScreenArea] -> Encoding # omitField :: ScreenArea -> Bool # | |||||
| Generic ScreenArea Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Associated Types
| |||||
| Show ScreenArea Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods showsPrec :: Int -> ScreenArea -> ShowS # show :: ScreenArea -> String # showList :: [ScreenArea] -> ShowS # | |||||
| Eq ScreenArea Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation | |||||
| type Rep ScreenArea Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation type Rep ScreenArea = D1 ('MetaData "ScreenArea" "WebDriverPreCore.BiDi.Emulation" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkScreenArea" 'PrefixI 'True) (S1 ('MetaSel ('Just "width") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt) :*: S1 ('MetaSel ('Just "height") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt))) | |||||
data ScreenOrientationNatural Source #
Constructors
| PortraitNatural | |
| LandscapeNatural |
Instances
| ToJSON ScreenOrientationNatural Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods toJSON :: ScreenOrientationNatural -> Value # toEncoding :: ScreenOrientationNatural -> Encoding # toJSONList :: [ScreenOrientationNatural] -> Value # | |||||
| Generic ScreenOrientationNatural Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Associated Types
Methods from :: ScreenOrientationNatural -> Rep ScreenOrientationNatural x # to :: Rep ScreenOrientationNatural x -> ScreenOrientationNatural # | |||||
| Show ScreenOrientationNatural Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods showsPrec :: Int -> ScreenOrientationNatural -> ShowS # show :: ScreenOrientationNatural -> String # showList :: [ScreenOrientationNatural] -> ShowS # | |||||
| Eq ScreenOrientationNatural Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods (==) :: ScreenOrientationNatural -> ScreenOrientationNatural -> Bool # (/=) :: ScreenOrientationNatural -> ScreenOrientationNatural -> Bool # | |||||
| type Rep ScreenOrientationNatural Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation type Rep ScreenOrientationNatural = D1 ('MetaData "ScreenOrientationNatural" "WebDriverPreCore.BiDi.Emulation" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "PortraitNatural" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LandscapeNatural" 'PrefixI 'False) (U1 :: Type -> Type)) | |||||
data ScreenOrientationType Source #
Instances
| ToJSON ScreenOrientationType Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods toJSON :: ScreenOrientationType -> Value # toEncoding :: ScreenOrientationType -> Encoding # toJSONList :: [ScreenOrientationType] -> Value # toEncodingList :: [ScreenOrientationType] -> Encoding # omitField :: ScreenOrientationType -> Bool # | |||||
| Generic ScreenOrientationType Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Associated Types
Methods from :: ScreenOrientationType -> Rep ScreenOrientationType x # to :: Rep ScreenOrientationType x -> ScreenOrientationType # | |||||
| Show ScreenOrientationType Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods showsPrec :: Int -> ScreenOrientationType -> ShowS # show :: ScreenOrientationType -> String # showList :: [ScreenOrientationType] -> ShowS # | |||||
| Eq ScreenOrientationType Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods (==) :: ScreenOrientationType -> ScreenOrientationType -> Bool # (/=) :: ScreenOrientationType -> ScreenOrientationType -> Bool # | |||||
| type Rep ScreenOrientationType Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation type Rep ScreenOrientationType = D1 ('MetaData "ScreenOrientationType" "WebDriverPreCore.BiDi.Emulation" "webdriver-precore-0.2.0.0-inplace" 'False) ((C1 ('MetaCons "PortraitPrimary" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PortraitSecondary" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LandscapePrimary" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LandscapeSecondary" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
data ForcedColorsModeTheme Source #
Constructors
| ForcedColorsLight | |
| ForcedColorsDark |
Instances
| ToJSON ForcedColorsModeTheme Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods toJSON :: ForcedColorsModeTheme -> Value # toEncoding :: ForcedColorsModeTheme -> Encoding # toJSONList :: [ForcedColorsModeTheme] -> Value # toEncodingList :: [ForcedColorsModeTheme] -> Encoding # omitField :: ForcedColorsModeTheme -> Bool # | |||||
| Generic ForcedColorsModeTheme Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Associated Types
Methods from :: ForcedColorsModeTheme -> Rep ForcedColorsModeTheme x # to :: Rep ForcedColorsModeTheme x -> ForcedColorsModeTheme # | |||||
| Show ForcedColorsModeTheme Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods showsPrec :: Int -> ForcedColorsModeTheme -> ShowS # show :: ForcedColorsModeTheme -> String # showList :: [ForcedColorsModeTheme] -> ShowS # | |||||
| Eq ForcedColorsModeTheme Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods (==) :: ForcedColorsModeTheme -> ForcedColorsModeTheme -> Bool # (/=) :: ForcedColorsModeTheme -> ForcedColorsModeTheme -> Bool # | |||||
| type Rep ForcedColorsModeTheme Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation | |||||
newtype NetworkConditions Source #
Constructors
| MkNetworkConditions NetworkConditionsOffline |
Instances
| ToJSON NetworkConditions Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods toJSON :: NetworkConditions -> Value # toEncoding :: NetworkConditions -> Encoding # toJSONList :: [NetworkConditions] -> Value # toEncodingList :: [NetworkConditions] -> Encoding # omitField :: NetworkConditions -> Bool # | |||||
| Generic NetworkConditions Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Associated Types
Methods from :: NetworkConditions -> Rep NetworkConditions x # to :: Rep NetworkConditions x -> NetworkConditions # | |||||
| Show NetworkConditions Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods showsPrec :: Int -> NetworkConditions -> ShowS # show :: NetworkConditions -> String # showList :: [NetworkConditions] -> ShowS # | |||||
| Eq NetworkConditions Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods (==) :: NetworkConditions -> NetworkConditions -> Bool # (/=) :: NetworkConditions -> NetworkConditions -> Bool # | |||||
| type Rep NetworkConditions Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation type Rep NetworkConditions = D1 ('MetaData "NetworkConditions" "WebDriverPreCore.BiDi.Emulation" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkNetworkConditions" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NetworkConditionsOffline))) | |||||
newtype NetworkConditionsOffline Source #
Constructors
| MkNetworkConditionsOffline | |
Fields | |
Instances
| ToJSON NetworkConditionsOffline Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods toJSON :: NetworkConditionsOffline -> Value # toEncoding :: NetworkConditionsOffline -> Encoding # toJSONList :: [NetworkConditionsOffline] -> Value # | |||||
| Generic NetworkConditionsOffline Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Associated Types
Methods from :: NetworkConditionsOffline -> Rep NetworkConditionsOffline x # to :: Rep NetworkConditionsOffline x -> NetworkConditionsOffline # | |||||
| Show NetworkConditionsOffline Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods showsPrec :: Int -> NetworkConditionsOffline -> ShowS # show :: NetworkConditionsOffline -> String # showList :: [NetworkConditionsOffline] -> ShowS # | |||||
| Eq NetworkConditionsOffline Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation Methods (==) :: NetworkConditionsOffline -> NetworkConditionsOffline -> Bool # (/=) :: NetworkConditionsOffline -> NetworkConditionsOffline -> Bool # | |||||
| type Rep NetworkConditionsOffline Source # | |||||
Defined in WebDriverPreCore.BiDi.Emulation type Rep NetworkConditionsOffline = D1 ('MetaData "NetworkConditionsOffline" "WebDriverPreCore.BiDi.Emulation" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkNetworkConditionsOffline" 'PrefixI 'True) (S1 ('MetaSel ('Just "networkConditionsType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |||||
Input
data KeySourceAction Source #
Instances
| ToJSON KeySourceAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods toJSON :: KeySourceAction -> Value # toEncoding :: KeySourceAction -> Encoding # toJSONList :: [KeySourceAction] -> Value # toEncodingList :: [KeySourceAction] -> Encoding # omitField :: KeySourceAction -> Bool # | |||||
| Generic KeySourceAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Associated Types
Methods from :: KeySourceAction -> Rep KeySourceAction x # to :: Rep KeySourceAction x -> KeySourceAction # | |||||
| Show KeySourceAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods showsPrec :: Int -> KeySourceAction -> ShowS # show :: KeySourceAction -> String # showList :: [KeySourceAction] -> ShowS # | |||||
| Eq KeySourceAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods (==) :: KeySourceAction -> KeySourceAction -> Bool # (/=) :: KeySourceAction -> KeySourceAction -> Bool # | |||||
| type Rep KeySourceAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Input type Rep KeySourceAction = D1 ('MetaData "KeySourceAction" "WebDriverPreCore.BiDi.Input" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "KeyPause" 'PrefixI 'True) (S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :+: (C1 ('MetaCons "KeyDown" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: C1 ('MetaCons "KeyUp" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) | |||||
newtype FileDialogOpened Source #
Event data for input.fileDialogOpened event Parses the params content directly (params is extracted by Event or SingleSubscription handler)
Constructors
| MkFileDialogOpened | |
Fields | |
Instances
| FromJSON FileDialogOpened Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods parseJSON :: Value -> Parser FileDialogOpened # parseJSONList :: Value -> Parser [FileDialogOpened] # | |||||
| Generic FileDialogOpened Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Associated Types
Methods from :: FileDialogOpened -> Rep FileDialogOpened x # to :: Rep FileDialogOpened x -> FileDialogOpened # | |||||
| Show FileDialogOpened Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods showsPrec :: Int -> FileDialogOpened -> ShowS # show :: FileDialogOpened -> String # showList :: [FileDialogOpened] -> ShowS # | |||||
| Eq FileDialogOpened Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods (==) :: FileDialogOpened -> FileDialogOpened -> Bool # (/=) :: FileDialogOpened -> FileDialogOpened -> Bool # | |||||
| type Rep FileDialogOpened Source # | |||||
Defined in WebDriverPreCore.BiDi.Input type Rep FileDialogOpened = D1 ('MetaData "FileDialogOpened" "WebDriverPreCore.BiDi.Input" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkFileDialogOpened" 'PrefixI 'True) (S1 ('MetaSel ('Just "params") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FileDialogInfo))) | |||||
data PerformActions Source #
Constructors
| MkPerformActions | |
Fields
| |
Instances
| ToJSON PerformActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods toJSON :: PerformActions -> Value # toEncoding :: PerformActions -> Encoding # toJSONList :: [PerformActions] -> Value # toEncodingList :: [PerformActions] -> Encoding # omitField :: PerformActions -> Bool # | |||||
| Generic PerformActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Associated Types
Methods from :: PerformActions -> Rep PerformActions x # to :: Rep PerformActions x -> PerformActions # | |||||
| Show PerformActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods showsPrec :: Int -> PerformActions -> ShowS # show :: PerformActions -> String # showList :: [PerformActions] -> ShowS # | |||||
| Eq PerformActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods (==) :: PerformActions -> PerformActions -> Bool # (/=) :: PerformActions -> PerformActions -> Bool # | |||||
| type Rep PerformActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input type Rep PerformActions = D1 ('MetaData "PerformActions" "WebDriverPreCore.BiDi.Input" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkPerformActions" 'PrefixI 'True) (S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BrowsingContext) :*: S1 ('MetaSel ('Just "actions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SourceActions]))) | |||||
newtype ReleaseActions Source #
Constructors
| MkReleaseActions | |
Fields | |
Instances
| ToJSON ReleaseActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods toJSON :: ReleaseActions -> Value # toEncoding :: ReleaseActions -> Encoding # toJSONList :: [ReleaseActions] -> Value # toEncodingList :: [ReleaseActions] -> Encoding # omitField :: ReleaseActions -> Bool # | |||||
| Generic ReleaseActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Associated Types
Methods from :: ReleaseActions -> Rep ReleaseActions x # to :: Rep ReleaseActions x -> ReleaseActions # | |||||
| Show ReleaseActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods showsPrec :: Int -> ReleaseActions -> ShowS # show :: ReleaseActions -> String # showList :: [ReleaseActions] -> ShowS # | |||||
| Eq ReleaseActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods (==) :: ReleaseActions -> ReleaseActions -> Bool # (/=) :: ReleaseActions -> ReleaseActions -> Bool # | |||||
| type Rep ReleaseActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input type Rep ReleaseActions = D1 ('MetaData "ReleaseActions" "WebDriverPreCore.BiDi.Input" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkReleaseActions" 'PrefixI 'True) (S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BrowsingContext))) | |||||
Constructors
| MkSetFiles | |
Fields
| |
Instances
| ToJSON SetFiles Source # | |||||
| Generic SetFiles Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Associated Types
| |||||
| Show SetFiles Source # | |||||
| Eq SetFiles Source # | |||||
| type Rep SetFiles Source # | |||||
Defined in WebDriverPreCore.BiDi.Input type Rep SetFiles = D1 ('MetaData "SetFiles" "WebDriverPreCore.BiDi.Input" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSetFiles" 'PrefixI 'True) (S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BrowsingContext) :*: (S1 ('MetaSel ('Just "element") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SharedReference) :*: S1 ('MetaSel ('Just "files") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))) | |||||
Constructors
| MkPointer | |
Fields | |
Instances
| ToJSON Pointer Source # | |||||
| Generic Pointer Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Associated Types
| |||||
| Show Pointer Source # | |||||
| Eq Pointer Source # | |||||
| type Rep Pointer Source # | |||||
Defined in WebDriverPreCore.BiDi.Input type Rep Pointer = D1 ('MetaData "Pointer" "WebDriverPreCore.BiDi.Input" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkPointer" 'PrefixI 'True) (S1 ('MetaSel ('Just "pointerType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PointerType)))) | |||||
Instances
| ToJSON Origin Source # | |||||
| Generic Origin Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Associated Types
| |||||
| Show Origin Source # | |||||
| Eq Origin Source # | |||||
| type Rep Origin Source # | |||||
Defined in WebDriverPreCore.BiDi.Input type Rep Origin = D1 ('MetaData "Origin" "WebDriverPreCore.BiDi.Input" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "ViewportOriginPointerType" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PointerOrigin" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ElementOrigin" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SharedReference)))) | |||||
data SourceActions Source #
Constructors
| NoneSourceActions NoneSourceActions | |
| KeySourceActions KeySourceActions | |
| PointerSourceActions PointerSourceActions | |
| WheelSourceActions WheelSourceActions |
Instances
| ToJSON SourceActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods toJSON :: SourceActions -> Value # toEncoding :: SourceActions -> Encoding # toJSONList :: [SourceActions] -> Value # toEncodingList :: [SourceActions] -> Encoding # omitField :: SourceActions -> Bool # | |||||
| Generic SourceActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Associated Types
| |||||
| Show SourceActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods showsPrec :: Int -> SourceActions -> ShowS # show :: SourceActions -> String # showList :: [SourceActions] -> ShowS # | |||||
| Eq SourceActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods (==) :: SourceActions -> SourceActions -> Bool # (/=) :: SourceActions -> SourceActions -> Bool # | |||||
| type Rep SourceActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input type Rep SourceActions = D1 ('MetaData "SourceActions" "WebDriverPreCore.BiDi.Input" "webdriver-precore-0.2.0.0-inplace" 'False) ((C1 ('MetaCons "NoneSourceActions" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NoneSourceActions)) :+: C1 ('MetaCons "KeySourceActions" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 KeySourceActions))) :+: (C1 ('MetaCons "PointerSourceActions" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PointerSourceActions)) :+: C1 ('MetaCons "WheelSourceActions" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 WheelSourceActions)))) | |||||
data NoneSourceActions Source #
Constructors
| MkNoneSourceActions | |
Fields
| |
Instances
| ToJSON NoneSourceActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods toJSON :: NoneSourceActions -> Value # toEncoding :: NoneSourceActions -> Encoding # toJSONList :: [NoneSourceActions] -> Value # toEncodingList :: [NoneSourceActions] -> Encoding # omitField :: NoneSourceActions -> Bool # | |||||
| Generic NoneSourceActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Associated Types
Methods from :: NoneSourceActions -> Rep NoneSourceActions x # to :: Rep NoneSourceActions x -> NoneSourceActions # | |||||
| Show NoneSourceActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods showsPrec :: Int -> NoneSourceActions -> ShowS # show :: NoneSourceActions -> String # showList :: [NoneSourceActions] -> ShowS # | |||||
| Eq NoneSourceActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods (==) :: NoneSourceActions -> NoneSourceActions -> Bool # (/=) :: NoneSourceActions -> NoneSourceActions -> Bool # | |||||
| type Rep NoneSourceActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input type Rep NoneSourceActions = D1 ('MetaData "NoneSourceActions" "WebDriverPreCore.BiDi.Input" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkNoneSourceActions" 'PrefixI 'True) (S1 ('MetaSel ('Just "noneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "noneActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [PauseAction]))) | |||||
data KeySourceActions Source #
Constructors
| MkKeySourceActions | |
Fields
| |
Instances
| ToJSON KeySourceActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods toJSON :: KeySourceActions -> Value # toEncoding :: KeySourceActions -> Encoding # toJSONList :: [KeySourceActions] -> Value # toEncodingList :: [KeySourceActions] -> Encoding # omitField :: KeySourceActions -> Bool # | |||||
| Generic KeySourceActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Associated Types
Methods from :: KeySourceActions -> Rep KeySourceActions x # to :: Rep KeySourceActions x -> KeySourceActions # | |||||
| Show KeySourceActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods showsPrec :: Int -> KeySourceActions -> ShowS # show :: KeySourceActions -> String # showList :: [KeySourceActions] -> ShowS # | |||||
| Eq KeySourceActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods (==) :: KeySourceActions -> KeySourceActions -> Bool # (/=) :: KeySourceActions -> KeySourceActions -> Bool # | |||||
| type Rep KeySourceActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input type Rep KeySourceActions = D1 ('MetaData "KeySourceActions" "WebDriverPreCore.BiDi.Input" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkKeySourceActions" 'PrefixI 'True) (S1 ('MetaSel ('Just "keyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "keyActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [KeySourceAction]))) | |||||
data PointerSourceActions Source #
Constructors
| MkPointerSourceActions | |
Fields
| |
Instances
| ToJSON PointerSourceActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods toJSON :: PointerSourceActions -> Value # toEncoding :: PointerSourceActions -> Encoding # toJSONList :: [PointerSourceActions] -> Value # toEncodingList :: [PointerSourceActions] -> Encoding # omitField :: PointerSourceActions -> Bool # | |||||
| Generic PointerSourceActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Associated Types
Methods from :: PointerSourceActions -> Rep PointerSourceActions x # to :: Rep PointerSourceActions x -> PointerSourceActions # | |||||
| Show PointerSourceActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods showsPrec :: Int -> PointerSourceActions -> ShowS # show :: PointerSourceActions -> String # showList :: [PointerSourceActions] -> ShowS # | |||||
| Eq PointerSourceActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods (==) :: PointerSourceActions -> PointerSourceActions -> Bool # (/=) :: PointerSourceActions -> PointerSourceActions -> Bool # | |||||
| type Rep PointerSourceActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input type Rep PointerSourceActions = D1 ('MetaData "PointerSourceActions" "WebDriverPreCore.BiDi.Input" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkPointerSourceActions" 'PrefixI 'True) (S1 ('MetaSel ('Just "pointerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "pointer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Pointer)) :*: S1 ('MetaSel ('Just "pointerActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [PointerSourceAction])))) | |||||
data PointerSourceAction Source #
Constructors
| Pause | |
| PointerDown | |
Fields | |
| PointerUp | |
| PointerMove | |
Instances
| ToJSON PointerSourceAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods toJSON :: PointerSourceAction -> Value # toEncoding :: PointerSourceAction -> Encoding # toJSONList :: [PointerSourceAction] -> Value # toEncodingList :: [PointerSourceAction] -> Encoding # omitField :: PointerSourceAction -> Bool # | |||||
| Generic PointerSourceAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Associated Types
Methods from :: PointerSourceAction -> Rep PointerSourceAction x # to :: Rep PointerSourceAction x -> PointerSourceAction # | |||||
| Show PointerSourceAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods showsPrec :: Int -> PointerSourceAction -> ShowS # show :: PointerSourceAction -> String # showList :: [PointerSourceAction] -> ShowS # | |||||
| Eq PointerSourceAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods (==) :: PointerSourceAction -> PointerSourceAction -> Bool # (/=) :: PointerSourceAction -> PointerSourceAction -> Bool # | |||||
| type Rep PointerSourceAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Input type Rep PointerSourceAction = D1 ('MetaData "PointerSourceAction" "WebDriverPreCore.BiDi.Input" "webdriver-precore-0.2.0.0-inplace" 'False) ((C1 ('MetaCons "Pause" 'PrefixI 'True) (S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :+: C1 ('MetaCons "PointerDown" 'PrefixI 'True) (S1 ('MetaSel ('Just "button") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "pointerCommonProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PointerCommonProperties))) :+: (C1 ('MetaCons "PointerUp" 'PrefixI 'True) (S1 ('MetaSel ('Just "button") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :+: C1 ('MetaCons "PointerMove" 'PrefixI 'True) ((S1 ('MetaSel ('Just "x") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double) :*: S1 ('MetaSel ('Just "y") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double)) :*: (S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "origin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Origin)) :*: S1 ('MetaSel ('Just "pointerCommonProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PointerCommonProperties)))))) | |||||
data WheelSourceActions Source #
Constructors
| MkWheelSourceActions | |
Fields
| |
Instances
| ToJSON WheelSourceActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods toJSON :: WheelSourceActions -> Value # toEncoding :: WheelSourceActions -> Encoding # toJSONList :: [WheelSourceActions] -> Value # toEncodingList :: [WheelSourceActions] -> Encoding # omitField :: WheelSourceActions -> Bool # | |||||
| Generic WheelSourceActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Associated Types
Methods from :: WheelSourceActions -> Rep WheelSourceActions x # to :: Rep WheelSourceActions x -> WheelSourceActions # | |||||
| Show WheelSourceActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods showsPrec :: Int -> WheelSourceActions -> ShowS # show :: WheelSourceActions -> String # showList :: [WheelSourceActions] -> ShowS # | |||||
| Eq WheelSourceActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods (==) :: WheelSourceActions -> WheelSourceActions -> Bool # (/=) :: WheelSourceActions -> WheelSourceActions -> Bool # | |||||
| type Rep WheelSourceActions Source # | |||||
Defined in WebDriverPreCore.BiDi.Input type Rep WheelSourceActions = D1 ('MetaData "WheelSourceActions" "WebDriverPreCore.BiDi.Input" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkWheelSourceActions" 'PrefixI 'True) (S1 ('MetaSel ('Just "wheelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "wheelActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [WheelSourceAction]))) | |||||
data WheelSourceAction Source #
Instances
| ToJSON WheelSourceAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods toJSON :: WheelSourceAction -> Value # toEncoding :: WheelSourceAction -> Encoding # toJSONList :: [WheelSourceAction] -> Value # toEncodingList :: [WheelSourceAction] -> Encoding # omitField :: WheelSourceAction -> Bool # | |||||
| Generic WheelSourceAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Associated Types
Methods from :: WheelSourceAction -> Rep WheelSourceAction x # to :: Rep WheelSourceAction x -> WheelSourceAction # | |||||
| Show WheelSourceAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods showsPrec :: Int -> WheelSourceAction -> ShowS # show :: WheelSourceAction -> String # showList :: [WheelSourceAction] -> ShowS # | |||||
| Eq WheelSourceAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods (==) :: WheelSourceAction -> WheelSourceAction -> Bool # (/=) :: WheelSourceAction -> WheelSourceAction -> Bool # | |||||
| type Rep WheelSourceAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Input type Rep WheelSourceAction = D1 ('MetaData "WheelSourceAction" "WebDriverPreCore.BiDi.Input" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "WheelPauseAction" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PauseAction)) :+: C1 ('MetaCons "WheelScrollAction" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 WheelScrollAction))) | |||||
newtype PauseAction Source #
Constructors
| MkPauseAction | |
Instances
| ToJSON PauseAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods toJSON :: PauseAction -> Value # toEncoding :: PauseAction -> Encoding # toJSONList :: [PauseAction] -> Value # toEncodingList :: [PauseAction] -> Encoding # omitField :: PauseAction -> Bool # | |||||
| Generic PauseAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Associated Types
| |||||
| Show PauseAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods showsPrec :: Int -> PauseAction -> ShowS # show :: PauseAction -> String # showList :: [PauseAction] -> ShowS # | |||||
| Eq PauseAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Input | |||||
| type Rep PauseAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Input type Rep PauseAction = D1 ('MetaData "PauseAction" "WebDriverPreCore.BiDi.Input" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkPauseAction" 'PrefixI 'True) (S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)))) | |||||
data WheelScrollAction Source #
Constructors
| MkWheelScrollAction | |
Instances
| ToJSON WheelScrollAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods toJSON :: WheelScrollAction -> Value # toEncoding :: WheelScrollAction -> Encoding # toJSONList :: [WheelScrollAction] -> Value # toEncodingList :: [WheelScrollAction] -> Encoding # omitField :: WheelScrollAction -> Bool # | |||||
| Generic WheelScrollAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Associated Types
Methods from :: WheelScrollAction -> Rep WheelScrollAction x # to :: Rep WheelScrollAction x -> WheelScrollAction # | |||||
| Show WheelScrollAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods showsPrec :: Int -> WheelScrollAction -> ShowS # show :: WheelScrollAction -> String # showList :: [WheelScrollAction] -> ShowS # | |||||
| Eq WheelScrollAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods (==) :: WheelScrollAction -> WheelScrollAction -> Bool # (/=) :: WheelScrollAction -> WheelScrollAction -> Bool # | |||||
| type Rep WheelScrollAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Input type Rep WheelScrollAction = D1 ('MetaData "WheelScrollAction" "WebDriverPreCore.BiDi.Input" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkWheelScrollAction" 'PrefixI 'True) ((S1 ('MetaSel ('Just "x") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "y") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "deltaX") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) :*: (S1 ('MetaSel ('Just "deltaY") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "origin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Origin)))))) | |||||
data PointerCommonProperties Source #
Constructors
| MkPointerCommonProperties | |
Instances
| ToJSON PointerCommonProperties Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods toJSON :: PointerCommonProperties -> Value # toEncoding :: PointerCommonProperties -> Encoding # toJSONList :: [PointerCommonProperties] -> Value # | |||||
| Generic PointerCommonProperties Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Associated Types
Methods from :: PointerCommonProperties -> Rep PointerCommonProperties x # to :: Rep PointerCommonProperties x -> PointerCommonProperties # | |||||
| Show PointerCommonProperties Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods showsPrec :: Int -> PointerCommonProperties -> ShowS # show :: PointerCommonProperties -> String # showList :: [PointerCommonProperties] -> ShowS # | |||||
| Eq PointerCommonProperties Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods (==) :: PointerCommonProperties -> PointerCommonProperties -> Bool # (/=) :: PointerCommonProperties -> PointerCommonProperties -> Bool # | |||||
| type Rep PointerCommonProperties Source # | |||||
Defined in WebDriverPreCore.BiDi.Input type Rep PointerCommonProperties = D1 ('MetaData "PointerCommonProperties" "WebDriverPreCore.BiDi.Input" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkPointerCommonProperties" 'PrefixI 'True) ((S1 ('MetaSel ('Just "width") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "height") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "pressure") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))) :*: ((S1 ('MetaSel ('Just "tangentialPressure") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "twist") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "altitudeAngle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "azimuthAngle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))) | |||||
data FileDialogInfo Source #
Constructors
| MkFileDialogInfo | |
Fields | |
Instances
| FromJSON FileDialogInfo Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods parseJSON :: Value -> Parser FileDialogInfo # parseJSONList :: Value -> Parser [FileDialogInfo] # | |||||
| ToJSON FileDialogInfo Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods toJSON :: FileDialogInfo -> Value # toEncoding :: FileDialogInfo -> Encoding # toJSONList :: [FileDialogInfo] -> Value # toEncodingList :: [FileDialogInfo] -> Encoding # omitField :: FileDialogInfo -> Bool # | |||||
| Generic FileDialogInfo Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Associated Types
Methods from :: FileDialogInfo -> Rep FileDialogInfo x # to :: Rep FileDialogInfo x -> FileDialogInfo # | |||||
| Show FileDialogInfo Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods showsPrec :: Int -> FileDialogInfo -> ShowS # show :: FileDialogInfo -> String # showList :: [FileDialogInfo] -> ShowS # | |||||
| Eq FileDialogInfo Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods (==) :: FileDialogInfo -> FileDialogInfo -> Bool # (/=) :: FileDialogInfo -> FileDialogInfo -> Bool # | |||||
| type Rep FileDialogInfo Source # | |||||
Defined in WebDriverPreCore.BiDi.Input type Rep FileDialogInfo = D1 ('MetaData "FileDialogInfo" "WebDriverPreCore.BiDi.Input" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkFileDialogInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BrowsingContext) :*: (S1 ('MetaSel ('Just "element") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SharedReference)) :*: S1 ('MetaSel ('Just "multiple") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))) | |||||
data PointerType Source #
Constructors
| MousePointer | |
| PenPointer | |
| TouchPointer |
Instances
| ToJSON PointerType Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods toJSON :: PointerType -> Value # toEncoding :: PointerType -> Encoding # toJSONList :: [PointerType] -> Value # toEncodingList :: [PointerType] -> Encoding # omitField :: PointerType -> Bool # | |||||
| Generic PointerType Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Associated Types
| |||||
| Show PointerType Source # | |||||
Defined in WebDriverPreCore.BiDi.Input Methods showsPrec :: Int -> PointerType -> ShowS # show :: PointerType -> String # showList :: [PointerType] -> ShowS # | |||||
| Eq PointerType Source # | |||||
Defined in WebDriverPreCore.BiDi.Input | |||||
| type Rep PointerType Source # | |||||
Defined in WebDriverPreCore.BiDi.Input type Rep PointerType = D1 ('MetaData "PointerType" "WebDriverPreCore.BiDi.Input" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MousePointer" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PenPointer" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TouchPointer" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
Log
data BaseLogEntry Source #
Base structure for all log entries
Constructors
| MkBaseLogEntry | |
Instances
| FromJSON BaseLogEntry Source # | |||||
Defined in WebDriverPreCore.BiDi.Log | |||||
| Generic BaseLogEntry Source # | |||||
Defined in WebDriverPreCore.BiDi.Log Associated Types
| |||||
| Show BaseLogEntry Source # | |||||
Defined in WebDriverPreCore.BiDi.Log Methods showsPrec :: Int -> BaseLogEntry -> ShowS # show :: BaseLogEntry -> String # showList :: [BaseLogEntry] -> ShowS # | |||||
| Eq BaseLogEntry Source # | |||||
Defined in WebDriverPreCore.BiDi.Log | |||||
| type Rep BaseLogEntry Source # | |||||
Defined in WebDriverPreCore.BiDi.Log type Rep BaseLogEntry = D1 ('MetaData "BaseLogEntry" "WebDriverPreCore.BiDi.Log" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkBaseLogEntry" 'PrefixI 'True) ((S1 ('MetaSel ('Just "level") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Level) :*: S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Source)) :*: (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt) :*: S1 ('MetaSel ('Just "stackTrace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StackTrace)))))) | |||||
data ConsoleLogEntry Source #
Console log entry type
Constructors
| MkConsoleLogEntry | |
Instances
| FromJSON ConsoleLogEntry Source # | |||||
Defined in WebDriverPreCore.BiDi.Log Methods parseJSON :: Value -> Parser ConsoleLogEntry # parseJSONList :: Value -> Parser [ConsoleLogEntry] # | |||||
| Generic ConsoleLogEntry Source # | |||||
Defined in WebDriverPreCore.BiDi.Log Associated Types
Methods from :: ConsoleLogEntry -> Rep ConsoleLogEntry x # to :: Rep ConsoleLogEntry x -> ConsoleLogEntry # | |||||
| Show ConsoleLogEntry Source # | |||||
Defined in WebDriverPreCore.BiDi.Log Methods showsPrec :: Int -> ConsoleLogEntry -> ShowS # show :: ConsoleLogEntry -> String # showList :: [ConsoleLogEntry] -> ShowS # | |||||
| Eq ConsoleLogEntry Source # | |||||
Defined in WebDriverPreCore.BiDi.Log Methods (==) :: ConsoleLogEntry -> ConsoleLogEntry -> Bool # (/=) :: ConsoleLogEntry -> ConsoleLogEntry -> Bool # | |||||
| type Rep ConsoleLogEntry Source # | |||||
Defined in WebDriverPreCore.BiDi.Log type Rep ConsoleLogEntry = D1 ('MetaData "ConsoleLogEntry" "WebDriverPreCore.BiDi.Log" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkConsoleLogEntry" 'PrefixI 'True) ((S1 ('MetaSel ('Just "level") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Level) :*: (S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Source) :*: S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt) :*: S1 ('MetaSel ('Just "stackTrace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StackTrace))) :*: (S1 ('MetaSel ('Just "method") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "args") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [RemoteValue]))))) | |||||
data GenericLogEntry Source #
Generic log entry type
Constructors
| MkGenericLogEntry | |
Instances
| FromJSON GenericLogEntry Source # | |||||
Defined in WebDriverPreCore.BiDi.Log Methods parseJSON :: Value -> Parser GenericLogEntry # parseJSONList :: Value -> Parser [GenericLogEntry] # | |||||
| Generic GenericLogEntry Source # | |||||
Defined in WebDriverPreCore.BiDi.Log Associated Types
Methods from :: GenericLogEntry -> Rep GenericLogEntry x # to :: Rep GenericLogEntry x -> GenericLogEntry # | |||||
| Show GenericLogEntry Source # | |||||
Defined in WebDriverPreCore.BiDi.Log Methods showsPrec :: Int -> GenericLogEntry -> ShowS # show :: GenericLogEntry -> String # showList :: [GenericLogEntry] -> ShowS # | |||||
| Eq GenericLogEntry Source # | |||||
Defined in WebDriverPreCore.BiDi.Log Methods (==) :: GenericLogEntry -> GenericLogEntry -> Bool # (/=) :: GenericLogEntry -> GenericLogEntry -> Bool # | |||||
| type Rep GenericLogEntry Source # | |||||
Defined in WebDriverPreCore.BiDi.Log type Rep GenericLogEntry = D1 ('MetaData "GenericLogEntry" "WebDriverPreCore.BiDi.Log" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkGenericLogEntry" 'PrefixI 'True) ((S1 ('MetaSel ('Just "level") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Level) :*: (S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Source) :*: S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt) :*: (S1 ('MetaSel ('Just "stackTrace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StackTrace)) :*: S1 ('MetaSel ('Just "entryType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))) | |||||
data JavascriptLogEntry Source #
JavaScript log entry type
Constructors
| MkJavascriptLogEntry | |
Instances
| FromJSON JavascriptLogEntry Source # | |||||
Defined in WebDriverPreCore.BiDi.Log Methods parseJSON :: Value -> Parser JavascriptLogEntry # parseJSONList :: Value -> Parser [JavascriptLogEntry] # | |||||
| Generic JavascriptLogEntry Source # | |||||
Defined in WebDriverPreCore.BiDi.Log Associated Types
Methods from :: JavascriptLogEntry -> Rep JavascriptLogEntry x # to :: Rep JavascriptLogEntry x -> JavascriptLogEntry # | |||||
| Show JavascriptLogEntry Source # | |||||
Defined in WebDriverPreCore.BiDi.Log Methods showsPrec :: Int -> JavascriptLogEntry -> ShowS # show :: JavascriptLogEntry -> String # showList :: [JavascriptLogEntry] -> ShowS # | |||||
| Eq JavascriptLogEntry Source # | |||||
Defined in WebDriverPreCore.BiDi.Log Methods (==) :: JavascriptLogEntry -> JavascriptLogEntry -> Bool # (/=) :: JavascriptLogEntry -> JavascriptLogEntry -> Bool # | |||||
| type Rep JavascriptLogEntry Source # | |||||
Defined in WebDriverPreCore.BiDi.Log type Rep JavascriptLogEntry = D1 ('MetaData "JavascriptLogEntry" "WebDriverPreCore.BiDi.Log" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkJavascriptLogEntry" 'PrefixI 'True) ((S1 ('MetaSel ('Just "level") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Level) :*: S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Source)) :*: (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt) :*: S1 ('MetaSel ('Just "stackTrace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StackTrace)))))) | |||||
Represents the log level
Instances
| FromJSON Level Source # | |||||
Defined in WebDriverPreCore.BiDi.Log | |||||
| Generic Level Source # | |||||
Defined in WebDriverPreCore.BiDi.Log Associated Types
| |||||
| Show Level Source # | |||||
| Eq Level Source # | |||||
| type Rep Level Source # | |||||
Defined in WebDriverPreCore.BiDi.Log type Rep Level = D1 ('MetaData "Level" "WebDriverPreCore.BiDi.Log" "webdriver-precore-0.2.0.0-inplace" 'False) ((C1 ('MetaCons "Debug" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Info" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Warn" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Error" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
Union type for all log entry types
Constructors
| GenericEntry GenericLogEntry | |
| ConsoleEntry ConsoleLogEntry | |
| JavascriptEntry JavascriptLogEntry |
Instances
| FromJSON LogEntry Source # | |||||
Defined in WebDriverPreCore.BiDi.Log | |||||
| Generic LogEntry Source # | |||||
Defined in WebDriverPreCore.BiDi.Log Associated Types
| |||||
| Show LogEntry Source # | |||||
| Eq LogEntry Source # | |||||
| type Rep LogEntry Source # | |||||
Defined in WebDriverPreCore.BiDi.Log type Rep LogEntry = D1 ('MetaData "LogEntry" "WebDriverPreCore.BiDi.Log" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "GenericEntry" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GenericLogEntry)) :+: (C1 ('MetaCons "ConsoleEntry" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ConsoleLogEntry)) :+: C1 ('MetaCons "JavascriptEntry" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JavascriptLogEntry)))) | |||||
Event wrapper for log entries (consistent with other event types)
Constructors
| MkLogEvent LogEntry |
Instances
| FromJSON LogEvent Source # | |||||
Defined in WebDriverPreCore.BiDi.Log | |||||
| Generic LogEvent Source # | |||||
Defined in WebDriverPreCore.BiDi.Log Associated Types
| |||||
| Show LogEvent Source # | |||||
| Eq LogEvent Source # | |||||
| type Rep LogEvent Source # | |||||
Defined in WebDriverPreCore.BiDi.Log | |||||
Script
Constructors
| WindowRealmInfo | |
Fields
| |
| DedicatedWorker | |
Fields
| |
| SharedWorker | |
Fields | |
| ServiceWorker | |
Fields | |
| Worker | |
Fields | |
| PaintWorklet | |
Fields | |
| AudioWorklet | |
Fields | |
| Worklet | |
Fields | |
Instances
| FromJSON RealmInfo Source # | |||||
Defined in WebDriverPreCore.BiDi.Script | |||||
| Generic RealmInfo Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
| |||||
| Show RealmInfo Source # | |||||
| Eq RealmInfo Source # | |||||
| type Rep RealmInfo Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep RealmInfo = D1 ('MetaData "RealmInfo" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (((C1 ('MetaCons "WindowRealmInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "base") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BaseRealmInfo) :*: (S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BrowsingContext) :*: S1 ('MetaSel ('Just "sandbox") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :+: C1 ('MetaCons "DedicatedWorker" 'PrefixI 'True) (S1 ('MetaSel ('Just "base") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BaseRealmInfo) :*: S1 ('MetaSel ('Just "owners") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Realm]))) :+: (C1 ('MetaCons "SharedWorker" 'PrefixI 'True) (S1 ('MetaSel ('Just "base") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BaseRealmInfo)) :+: C1 ('MetaCons "ServiceWorker" 'PrefixI 'True) (S1 ('MetaSel ('Just "base") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BaseRealmInfo)))) :+: ((C1 ('MetaCons "Worker" 'PrefixI 'True) (S1 ('MetaSel ('Just "base") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BaseRealmInfo)) :+: C1 ('MetaCons "PaintWorklet" 'PrefixI 'True) (S1 ('MetaSel ('Just "base") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BaseRealmInfo))) :+: (C1 ('MetaCons "AudioWorklet" 'PrefixI 'True) (S1 ('MetaSel ('Just "base") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BaseRealmInfo)) :+: C1 ('MetaCons "Worklet" 'PrefixI 'True) (S1 ('MetaSel ('Just "base") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BaseRealmInfo))))) | |||||
data ExceptionDetails Source #
Constructors
| MkExceptionDetails | |
Fields
| |
Instances
| FromJSON ExceptionDetails Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods parseJSON :: Value -> Parser ExceptionDetails # parseJSONList :: Value -> Parser [ExceptionDetails] # | |||||
| Generic ExceptionDetails Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
Methods from :: ExceptionDetails -> Rep ExceptionDetails x # to :: Rep ExceptionDetails x -> ExceptionDetails # | |||||
| Show ExceptionDetails Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> ExceptionDetails -> ShowS # show :: ExceptionDetails -> String # showList :: [ExceptionDetails] -> ShowS # | |||||
| Eq ExceptionDetails Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: ExceptionDetails -> ExceptionDetails -> Bool # (/=) :: ExceptionDetails -> ExceptionDetails -> Bool # | |||||
| type Rep ExceptionDetails Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep ExceptionDetails = D1 ('MetaData "ExceptionDetails" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkExceptionDetails" 'PrefixI 'True) ((S1 ('MetaSel ('Just "columnNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt) :*: S1 ('MetaSel ('Just "exception") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RemoteValue)) :*: (S1 ('MetaSel ('Just "lineNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt) :*: (S1 ('MetaSel ('Just "stackTrace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StackTrace) :*: S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))) | |||||
data RemoteObjectReference Source #
Constructors
| MkRemoteObjectReference | |
Instances
| ToJSON RemoteObjectReference Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods toJSON :: RemoteObjectReference -> Value # toEncoding :: RemoteObjectReference -> Encoding # toJSONList :: [RemoteObjectReference] -> Value # toEncodingList :: [RemoteObjectReference] -> Encoding # omitField :: RemoteObjectReference -> Bool # | |||||
| Generic RemoteObjectReference Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
Methods from :: RemoteObjectReference -> Rep RemoteObjectReference x # to :: Rep RemoteObjectReference x -> RemoteObjectReference # | |||||
| Show RemoteObjectReference Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> RemoteObjectReference -> ShowS # show :: RemoteObjectReference -> String # showList :: [RemoteObjectReference] -> ShowS # | |||||
| Eq RemoteObjectReference Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: RemoteObjectReference -> RemoteObjectReference -> Bool # (/=) :: RemoteObjectReference -> RemoteObjectReference -> Bool # | |||||
| type Rep RemoteObjectReference Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep RemoteObjectReference = D1 ('MetaData "RemoteObjectReference" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkRemoteObjectReference" 'PrefixI 'True) (S1 ('MetaSel ('Just "handle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Handle) :*: (S1 ('MetaSel ('Just "shartedId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SharedId)) :*: S1 ('MetaSel ('Just "extensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Map Text Value)))))) | |||||
data RemoteValue Source #
Constructors
| PrimitiveValue PrimitiveProtocolValue | |
| SymbolValue | |
Fields
| |
| ArrayValue | |
Fields
| |
| ObjectValue | |
Fields
| |
| FunctionValue | |
Fields
| |
| RegExpValue | |
| DateValue | |
Fields
| |
| MapValue | |
Fields
| |
| SetValue | |
Fields
| |
| WeakMapValue | |
Fields
| |
| WeakSetValue | |
Fields
| |
| GeneratorValue | |
Fields
| |
| ErrorValue | |
Fields
| |
| ProxyValue | |
Fields
| |
| PromiseValue | |
Fields
| |
| TypedArrayValue | |
Fields
| |
| ArrayBufferValue | |
Fields
| |
| NodeListValue | |
Fields
| |
| HTMLCollectionValue | |
Fields
| |
| NodeValue NodeRemoteValue | |
| WindowProxyValue | |
Fields | |
Instances
| FromJSON RemoteValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script | |||||
| Generic RemoteValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
| |||||
| Show RemoteValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> RemoteValue -> ShowS # show :: RemoteValue -> String # showList :: [RemoteValue] -> ShowS # | |||||
| Eq RemoteValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script | |||||
| type Rep RemoteValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep RemoteValue = D1 ('MetaData "RemoteValue" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) ((((C1 ('MetaCons "PrimitiveValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PrimitiveProtocolValue)) :+: C1 ('MetaCons "SymbolValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "handle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Handle)) :*: S1 ('MetaSel ('Just "internalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InternalId)))) :+: (C1 ('MetaCons "ArrayValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "handle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Handle)) :*: (S1 ('MetaSel ('Just "internalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InternalId)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RemoteValue])))) :+: (C1 ('MetaCons "ObjectValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "handle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Handle)) :*: (S1 ('MetaSel ('Just "internalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InternalId)) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [(Either RemoteValue Text, RemoteValue)])))) :+: C1 ('MetaCons "FunctionValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "handle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Handle)) :*: S1 ('MetaSel ('Just "internalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InternalId)))))) :+: ((C1 ('MetaCons "RegExpValue" 'PrefixI 'True) ((S1 ('MetaSel ('Just "handle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Handle)) :*: S1 ('MetaSel ('Just "internalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InternalId))) :*: (S1 ('MetaSel ('Just "pattern'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "flags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :+: C1 ('MetaCons "DateValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "handle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Handle)) :*: (S1 ('MetaSel ('Just "internalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InternalId)) :*: S1 ('MetaSel ('Just "dateValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) :+: (C1 ('MetaCons "MapValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "handle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Handle)) :*: (S1 ('MetaSel ('Just "internalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InternalId)) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [(Either RemoteValue Text, RemoteValue)])))) :+: (C1 ('MetaCons "SetValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "handle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Handle)) :*: (S1 ('MetaSel ('Just "internalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InternalId)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RemoteValue])))) :+: C1 ('MetaCons "WeakMapValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "handle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Handle)) :*: S1 ('MetaSel ('Just "internalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InternalId))))))) :+: (((C1 ('MetaCons "WeakSetValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "handle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Handle)) :*: S1 ('MetaSel ('Just "internalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InternalId))) :+: C1 ('MetaCons "GeneratorValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "handle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Handle)) :*: S1 ('MetaSel ('Just "internalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InternalId)))) :+: (C1 ('MetaCons "ErrorValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "handle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Handle)) :*: S1 ('MetaSel ('Just "internalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InternalId))) :+: (C1 ('MetaCons "ProxyValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "handle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Handle)) :*: S1 ('MetaSel ('Just "internalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InternalId))) :+: C1 ('MetaCons "PromiseValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "handle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Handle)) :*: S1 ('MetaSel ('Just "internalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InternalId)))))) :+: ((C1 ('MetaCons "TypedArrayValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "handle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Handle)) :*: S1 ('MetaSel ('Just "internalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InternalId))) :+: (C1 ('MetaCons "ArrayBufferValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "handle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Handle)) :*: S1 ('MetaSel ('Just "internalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InternalId))) :+: C1 ('MetaCons "NodeListValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "handle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Handle)) :*: (S1 ('MetaSel ('Just "internalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InternalId)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RemoteValue])))))) :+: (C1 ('MetaCons "HTMLCollectionValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "handle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Handle)) :*: (S1 ('MetaSel ('Just "internalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InternalId)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RemoteValue])))) :+: (C1 ('MetaCons "NodeValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NodeRemoteValue)) :+: C1 ('MetaCons "WindowProxyValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "winProxyValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 WindowProxyProperties) :*: (S1 ('MetaSel ('Just "handle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Handle)) :*: S1 ('MetaSel ('Just "internalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InternalId))))))))) | |||||
data ArrayLocalValue Source #
Array local value
Constructors
| MkArrayLocalValue | |
Fields
| |
Instances
| ToJSON ArrayLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods toJSON :: ArrayLocalValue -> Value # toEncoding :: ArrayLocalValue -> Encoding # toJSONList :: [ArrayLocalValue] -> Value # toEncodingList :: [ArrayLocalValue] -> Encoding # omitField :: ArrayLocalValue -> Bool # | |||||
| Generic ArrayLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
Methods from :: ArrayLocalValue -> Rep ArrayLocalValue x # to :: Rep ArrayLocalValue x -> ArrayLocalValue # | |||||
| Show ArrayLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> ArrayLocalValue -> ShowS # show :: ArrayLocalValue -> String # showList :: [ArrayLocalValue] -> ShowS # | |||||
| Eq ArrayLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: ArrayLocalValue -> ArrayLocalValue -> Bool # (/=) :: ArrayLocalValue -> ArrayLocalValue -> Bool # | |||||
| type Rep ArrayLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep ArrayLocalValue = D1 ('MetaData "ArrayLocalValue" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkArrayLocalValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "typ") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ListLocalValue))) | |||||
newtype ChannelValue Source #
Constructors
| MkChannelValue | |
Fields | |
Instances
| ToJSON ChannelValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods toJSON :: ChannelValue -> Value # toEncoding :: ChannelValue -> Encoding # toJSONList :: [ChannelValue] -> Value # toEncodingList :: [ChannelValue] -> Encoding # omitField :: ChannelValue -> Bool # | |||||
| Generic ChannelValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
| |||||
| Show ChannelValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> ChannelValue -> ShowS # show :: ChannelValue -> String # showList :: [ChannelValue] -> ShowS # | |||||
| Eq ChannelValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script | |||||
| type Rep ChannelValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep ChannelValue = D1 ('MetaData "ChannelValue" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkChannelValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ChannelProperties))) | |||||
newtype DateLocalValue Source #
Date local value
Constructors
| MkDateLocalValue | |
Instances
| ToJSON DateLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods toJSON :: DateLocalValue -> Value # toEncoding :: DateLocalValue -> Encoding # toJSONList :: [DateLocalValue] -> Value # toEncodingList :: [DateLocalValue] -> Encoding # omitField :: DateLocalValue -> Bool # | |||||
| Generic DateLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
Methods from :: DateLocalValue -> Rep DateLocalValue x # to :: Rep DateLocalValue x -> DateLocalValue # | |||||
| Show DateLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> DateLocalValue -> ShowS # show :: DateLocalValue -> String # showList :: [DateLocalValue] -> ShowS # | |||||
| Eq DateLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: DateLocalValue -> DateLocalValue -> Bool # (/=) :: DateLocalValue -> DateLocalValue -> Bool # | |||||
| type Rep DateLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep DateLocalValue = D1 ('MetaData "DateLocalValue" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkDateLocalValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |||||
data MapLocalValue Source #
Map local value
Constructors
| MkMapLocalValue | |
Fields | |
Instances
| ToJSON MapLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods toJSON :: MapLocalValue -> Value # toEncoding :: MapLocalValue -> Encoding # toJSONList :: [MapLocalValue] -> Value # toEncodingList :: [MapLocalValue] -> Encoding # omitField :: MapLocalValue -> Bool # | |||||
| Generic MapLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
| |||||
| Show MapLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> MapLocalValue -> ShowS # show :: MapLocalValue -> String # showList :: [MapLocalValue] -> ShowS # | |||||
| Eq MapLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: MapLocalValue -> MapLocalValue -> Bool # (/=) :: MapLocalValue -> MapLocalValue -> Bool # | |||||
| type Rep MapLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep MapLocalValue = D1 ('MetaData "MapLocalValue" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkMapLocalValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MappingLocalValue))) | |||||
data ObjectLocalValue Source #
Object local value
Constructors
| MkObjectLocalValue | |
Fields | |
Instances
| ToJSON ObjectLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods toJSON :: ObjectLocalValue -> Value # toEncoding :: ObjectLocalValue -> Encoding # toJSONList :: [ObjectLocalValue] -> Value # toEncodingList :: [ObjectLocalValue] -> Encoding # omitField :: ObjectLocalValue -> Bool # | |||||
| Generic ObjectLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
Methods from :: ObjectLocalValue -> Rep ObjectLocalValue x # to :: Rep ObjectLocalValue x -> ObjectLocalValue # | |||||
| Show ObjectLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> ObjectLocalValue -> ShowS # show :: ObjectLocalValue -> String # showList :: [ObjectLocalValue] -> ShowS # | |||||
| Eq ObjectLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: ObjectLocalValue -> ObjectLocalValue -> Bool # (/=) :: ObjectLocalValue -> ObjectLocalValue -> Bool # | |||||
| type Rep ObjectLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep ObjectLocalValue = D1 ('MetaData "ObjectLocalValue" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkObjectLocalValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MappingLocalValue))) | |||||
data RegExpLocalValue Source #
RegExp local value
Constructors
| MkRegExpLocalValue | |
Fields
| |
Instances
| ToJSON RegExpLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods toJSON :: RegExpLocalValue -> Value # toEncoding :: RegExpLocalValue -> Encoding # toJSONList :: [RegExpLocalValue] -> Value # toEncodingList :: [RegExpLocalValue] -> Encoding # omitField :: RegExpLocalValue -> Bool # | |||||
| Generic RegExpLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
Methods from :: RegExpLocalValue -> Rep RegExpLocalValue x # to :: Rep RegExpLocalValue x -> RegExpLocalValue # | |||||
| Show RegExpLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> RegExpLocalValue -> ShowS # show :: RegExpLocalValue -> String # showList :: [RegExpLocalValue] -> ShowS # | |||||
| Eq RegExpLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: RegExpLocalValue -> RegExpLocalValue -> Bool # (/=) :: RegExpLocalValue -> RegExpLocalValue -> Bool # | |||||
| type Rep RegExpLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep RegExpLocalValue = D1 ('MetaData "RegExpLocalValue" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkRegExpLocalValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RegExpValue))) | |||||
data SetLocalValue Source #
Set local value
Constructors
| MkSetLocalValue | |
Fields
| |
Instances
| ToJSON SetLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods toJSON :: SetLocalValue -> Value # toEncoding :: SetLocalValue -> Encoding # toJSONList :: [SetLocalValue] -> Value # toEncodingList :: [SetLocalValue] -> Encoding # omitField :: SetLocalValue -> Bool # | |||||
| Generic SetLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
| |||||
| Show SetLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> SetLocalValue -> ShowS # show :: SetLocalValue -> String # showList :: [SetLocalValue] -> ShowS # | |||||
| Eq SetLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: SetLocalValue -> SetLocalValue -> Bool # (/=) :: SetLocalValue -> SetLocalValue -> Bool # | |||||
| type Rep SetLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep SetLocalValue = D1 ('MetaData "SetLocalValue" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSetLocalValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "typ") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ListLocalValue))) | |||||
data IncludeShadowTree Source #
Constructors
| ShadowTreeNone | |
| Open | |
| All |
Instances
| ToJSON IncludeShadowTree Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods toJSON :: IncludeShadowTree -> Value # toEncoding :: IncludeShadowTree -> Encoding # toJSONList :: [IncludeShadowTree] -> Value # toEncodingList :: [IncludeShadowTree] -> Encoding # omitField :: IncludeShadowTree -> Bool # | |||||
| Generic IncludeShadowTree Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
Methods from :: IncludeShadowTree -> Rep IncludeShadowTree x # to :: Rep IncludeShadowTree x -> IncludeShadowTree # | |||||
| Show IncludeShadowTree Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> IncludeShadowTree -> ShowS # show :: IncludeShadowTree -> String # showList :: [IncludeShadowTree] -> ShowS # | |||||
| Eq IncludeShadowTree Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: IncludeShadowTree -> IncludeShadowTree -> Bool # (/=) :: IncludeShadowTree -> IncludeShadowTree -> Bool # | |||||
| type Rep IncludeShadowTree Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep IncludeShadowTree = D1 ('MetaData "IncludeShadowTree" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "ShadowTreeNone" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Open" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "All" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
data StackFrame Source #
Constructors
| StackFrame | |
Fields
| |
Instances
| FromJSON StackFrame Source # | |||||
Defined in WebDriverPreCore.BiDi.Script | |||||
| Generic StackFrame Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
| |||||
| Show StackFrame Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> StackFrame -> ShowS # show :: StackFrame -> String # showList :: [StackFrame] -> ShowS # | |||||
| Eq StackFrame Source # | |||||
Defined in WebDriverPreCore.BiDi.Script | |||||
| type Rep StackFrame Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep StackFrame = D1 ('MetaData "StackFrame" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "StackFrame" 'PrefixI 'True) ((S1 ('MetaSel ('Just "columnNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt) :*: S1 ('MetaSel ('Just "functionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "lineNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt) :*: S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) | |||||
data StackTrace Source #
Constructors
| MkStackTrace | |
Fields
| |
Instances
| FromJSON StackTrace Source # | |||||
Defined in WebDriverPreCore.BiDi.Script | |||||
| Generic StackTrace Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
| |||||
| Show StackTrace Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> StackTrace -> ShowS # show :: StackTrace -> String # showList :: [StackTrace] -> ShowS # | |||||
| Eq StackTrace Source # | |||||
Defined in WebDriverPreCore.BiDi.Script | |||||
| type Rep StackTrace Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep StackTrace = D1 ('MetaData "StackTrace" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkStackTrace" 'PrefixI 'True) (S1 ('MetaSel ('Just "callFrames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [StackFrame]))) | |||||
Constructors
| MkMessage | |
Fields
| |
Instances
| FromJSON Message Source # | |||||
Defined in WebDriverPreCore.BiDi.Script | |||||
| Generic Message Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
| |||||
| Show Message Source # | |||||
| Eq Message Source # | |||||
| type Rep Message Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep Message = D1 ('MetaData "Message" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkMessage" 'PrefixI 'True) (S1 ('MetaSel ('Just "channel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Channel) :*: (S1 ('MetaSel ('Just "messageData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RemoteValue) :*: S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Source)))) | |||||
data AddPreloadScript Source #
Constructors
| MkAddPreloadScript | |
Fields
| |
Instances
| ToJSON AddPreloadScript Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods toJSON :: AddPreloadScript -> Value # toEncoding :: AddPreloadScript -> Encoding # toJSONList :: [AddPreloadScript] -> Value # toEncodingList :: [AddPreloadScript] -> Encoding # omitField :: AddPreloadScript -> Bool # | |||||
| Generic AddPreloadScript Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
Methods from :: AddPreloadScript -> Rep AddPreloadScript x # to :: Rep AddPreloadScript x -> AddPreloadScript # | |||||
| Show AddPreloadScript Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> AddPreloadScript -> ShowS # show :: AddPreloadScript -> String # showList :: [AddPreloadScript] -> ShowS # | |||||
| Eq AddPreloadScript Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: AddPreloadScript -> AddPreloadScript -> Bool # (/=) :: AddPreloadScript -> AddPreloadScript -> Bool # | |||||
| type Rep AddPreloadScript Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep AddPreloadScript = D1 ('MetaData "AddPreloadScript" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkAddPreloadScript" 'PrefixI 'True) ((S1 ('MetaSel ('Just "functionDeclaration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "arguments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ChannelValue]))) :*: (S1 ('MetaSel ('Just "contexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BrowsingContext])) :*: (S1 ('MetaSel ('Just "userContexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserContext])) :*: S1 ('MetaSel ('Just "sandbox") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) | |||||
newtype AddPreloadScriptResult Source #
Constructors
| MkAddPreloadScriptResult | |
Fields | |
Instances
| FromJSON AddPreloadScriptResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods parseJSON :: Value -> Parser AddPreloadScriptResult # parseJSONList :: Value -> Parser [AddPreloadScriptResult] # | |||||
| Generic AddPreloadScriptResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
Methods from :: AddPreloadScriptResult -> Rep AddPreloadScriptResult x # to :: Rep AddPreloadScriptResult x -> AddPreloadScriptResult # | |||||
| Show AddPreloadScriptResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> AddPreloadScriptResult -> ShowS # show :: AddPreloadScriptResult -> String # showList :: [AddPreloadScriptResult] -> ShowS # | |||||
| Eq AddPreloadScriptResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: AddPreloadScriptResult -> AddPreloadScriptResult -> Bool # (/=) :: AddPreloadScriptResult -> AddPreloadScriptResult -> Bool # | |||||
| type Rep AddPreloadScriptResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep AddPreloadScriptResult = D1 ('MetaData "AddPreloadScriptResult" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkAddPreloadScriptResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "script") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PreloadScript))) | |||||
data CallFunction Source #
Constructors
| MkCallFunction | |
Fields | |
Instances
| ToJSON CallFunction Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods toJSON :: CallFunction -> Value # toEncoding :: CallFunction -> Encoding # toJSONList :: [CallFunction] -> Value # toEncodingList :: [CallFunction] -> Encoding # omitField :: CallFunction -> Bool # | |||||
| Generic CallFunction Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
| |||||
| Show CallFunction Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> CallFunction -> ShowS # show :: CallFunction -> String # showList :: [CallFunction] -> ShowS # | |||||
| Eq CallFunction Source # | |||||
Defined in WebDriverPreCore.BiDi.Script | |||||
| type Rep CallFunction Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep CallFunction = D1 ('MetaData "CallFunction" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkCallFunction" 'PrefixI 'True) ((S1 ('MetaSel ('Just "functionDeclaration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "awaitPromise") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "target") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Target))) :*: ((S1 ('MetaSel ('Just "arguments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LocalValue])) :*: S1 ('MetaSel ('Just "resultOwnership") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResultOwnership))) :*: (S1 ('MetaSel ('Just "serializationOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SerializationOptions)) :*: S1 ('MetaSel ('Just "this") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LocalValue)))))) | |||||
Instances
| ToJSON Disown Source # | |||||
| Generic Disown Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
| |||||
| Show Disown Source # | |||||
| Eq Disown Source # | |||||
| type Rep Disown Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep Disown = D1 ('MetaData "Disown" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkDisown" 'PrefixI 'True) (S1 ('MetaSel ('Just "handles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Handle]) :*: S1 ('MetaSel ('Just "target") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Target))) | |||||
Constructors
| MkEvaluate | |
Fields | |
Instances
| ToJSON Evaluate Source # | |||||
| Generic Evaluate Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
| |||||
| Show Evaluate Source # | |||||
| Eq Evaluate Source # | |||||
| type Rep Evaluate Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep Evaluate = D1 ('MetaData "Evaluate" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkEvaluate" 'PrefixI 'True) ((S1 ('MetaSel ('Just "expression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "target") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Target)) :*: (S1 ('MetaSel ('Just "awaitPromise") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "resultOwnership") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResultOwnership)) :*: S1 ('MetaSel ('Just "serializationOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SerializationOptions)))))) | |||||
data EvaluateResult Source #
Constructors
| EvaluateResultSuccess | |
Fields
| |
| EvaluateResultException | |
Fields | |
Instances
| FromJSON EvaluateResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods parseJSON :: Value -> Parser EvaluateResult # parseJSONList :: Value -> Parser [EvaluateResult] # | |||||
| Generic EvaluateResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
Methods from :: EvaluateResult -> Rep EvaluateResult x # to :: Rep EvaluateResult x -> EvaluateResult # | |||||
| Show EvaluateResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> EvaluateResult -> ShowS # show :: EvaluateResult -> String # showList :: [EvaluateResult] -> ShowS # | |||||
| Eq EvaluateResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: EvaluateResult -> EvaluateResult -> Bool # (/=) :: EvaluateResult -> EvaluateResult -> Bool # | |||||
| type Rep EvaluateResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep EvaluateResult = D1 ('MetaData "EvaluateResult" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "EvaluateResultSuccess" 'PrefixI 'True) (S1 ('MetaSel ('Just "result") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RemoteValue) :*: S1 ('MetaSel ('Just "realm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Realm)) :+: C1 ('MetaCons "EvaluateResultException" 'PrefixI 'True) (S1 ('MetaSel ('Just "exceptionDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ExceptionDetails) :*: S1 ('MetaSel ('Just "realm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Realm))) | |||||
Constructors
| MkGetRealms | |
Instances
| ToJSON GetRealms Source # | |||||
| Generic GetRealms Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
| |||||
| Show GetRealms Source # | |||||
| Eq GetRealms Source # | |||||
| type Rep GetRealms Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep GetRealms = D1 ('MetaData "GetRealms" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkGetRealms" 'PrefixI 'True) (S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BrowsingContext)) :*: S1 ('MetaSel ('Just "realmType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RealmType)))) | |||||
newtype GetRealmsResult Source #
Constructors
| MkGetRealmsResult | |
Instances
| FromJSON GetRealmsResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods parseJSON :: Value -> Parser GetRealmsResult # parseJSONList :: Value -> Parser [GetRealmsResult] # | |||||
| Generic GetRealmsResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
Methods from :: GetRealmsResult -> Rep GetRealmsResult x # to :: Rep GetRealmsResult x -> GetRealmsResult # | |||||
| Show GetRealmsResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> GetRealmsResult -> ShowS # show :: GetRealmsResult -> String # showList :: [GetRealmsResult] -> ShowS # | |||||
| Eq GetRealmsResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: GetRealmsResult -> GetRealmsResult -> Bool # (/=) :: GetRealmsResult -> GetRealmsResult -> Bool # | |||||
| type Rep GetRealmsResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep GetRealmsResult = D1 ('MetaData "GetRealmsResult" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkGetRealmsResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "realms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [RealmInfo]))) | |||||
newtype RealmDestroyed Source #
Constructors
| MkRealmDestroyed | |
Instances
| FromJSON RealmDestroyed Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods parseJSON :: Value -> Parser RealmDestroyed # parseJSONList :: Value -> Parser [RealmDestroyed] # | |||||
| Generic RealmDestroyed Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
Methods from :: RealmDestroyed -> Rep RealmDestroyed x # to :: Rep RealmDestroyed x -> RealmDestroyed # | |||||
| Show RealmDestroyed Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> RealmDestroyed -> ShowS # show :: RealmDestroyed -> String # showList :: [RealmDestroyed] -> ShowS # | |||||
| Eq RealmDestroyed Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: RealmDestroyed -> RealmDestroyed -> Bool # (/=) :: RealmDestroyed -> RealmDestroyed -> Bool # | |||||
| type Rep RealmDestroyed Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep RealmDestroyed = D1 ('MetaData "RealmDestroyed" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkRealmDestroyed" 'PrefixI 'True) (S1 ('MetaSel ('Just "realm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Realm))) | |||||
data ScriptEvent Source #
Instances
| FromJSON ScriptEvent Source # | |||||
Defined in WebDriverPreCore.BiDi.Script | |||||
| Generic ScriptEvent Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
| |||||
| Show ScriptEvent Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> ScriptEvent -> ShowS # show :: ScriptEvent -> String # showList :: [ScriptEvent] -> ShowS # | |||||
| Eq ScriptEvent Source # | |||||
Defined in WebDriverPreCore.BiDi.Script | |||||
| type Rep ScriptEvent Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep ScriptEvent = D1 ('MetaData "ScriptEvent" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MessageEvent" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Message)) :+: (C1 ('MetaCons "RealmCreatedEvent" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RealmInfo)) :+: C1 ('MetaCons "RealmDestroyed" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RealmDestroyed)))) | |||||
newtype RemovePreloadScript Source #
Constructors
| MkRemovePreloadScript | |
Fields | |
Instances
| ToJSON RemovePreloadScript Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods toJSON :: RemovePreloadScript -> Value # toEncoding :: RemovePreloadScript -> Encoding # toJSONList :: [RemovePreloadScript] -> Value # toEncodingList :: [RemovePreloadScript] -> Encoding # omitField :: RemovePreloadScript -> Bool # | |||||
| Generic RemovePreloadScript Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
Methods from :: RemovePreloadScript -> Rep RemovePreloadScript x # to :: Rep RemovePreloadScript x -> RemovePreloadScript # | |||||
| Show RemovePreloadScript Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> RemovePreloadScript -> ShowS # show :: RemovePreloadScript -> String # showList :: [RemovePreloadScript] -> ShowS # | |||||
| Eq RemovePreloadScript Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: RemovePreloadScript -> RemovePreloadScript -> Bool # (/=) :: RemovePreloadScript -> RemovePreloadScript -> Bool # | |||||
| type Rep RemovePreloadScript Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep RemovePreloadScript = D1 ('MetaData "RemovePreloadScript" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkRemovePreloadScript" 'PrefixI 'True) (S1 ('MetaSel ('Just "script") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PreloadScript))) | |||||
data PrimitiveProtocolValue Source #
WindowProxy remote value representation
Constructors
| UndefinedValue | |
| NullValue | |
| StringValue StringValue | |
| NumberValue (Either Double SpecialNumber) | |
| BooleanValue Bool | |
| BigIntValue Text |
Instances
| FromJSON PrimitiveProtocolValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods parseJSON :: Value -> Parser PrimitiveProtocolValue # parseJSONList :: Value -> Parser [PrimitiveProtocolValue] # | |||||
| ToJSON PrimitiveProtocolValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods toJSON :: PrimitiveProtocolValue -> Value # toEncoding :: PrimitiveProtocolValue -> Encoding # toJSONList :: [PrimitiveProtocolValue] -> Value # toEncodingList :: [PrimitiveProtocolValue] -> Encoding # omitField :: PrimitiveProtocolValue -> Bool # | |||||
| Generic PrimitiveProtocolValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
Methods from :: PrimitiveProtocolValue -> Rep PrimitiveProtocolValue x # to :: Rep PrimitiveProtocolValue x -> PrimitiveProtocolValue # | |||||
| Show PrimitiveProtocolValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> PrimitiveProtocolValue -> ShowS # show :: PrimitiveProtocolValue -> String # showList :: [PrimitiveProtocolValue] -> ShowS # | |||||
| Eq PrimitiveProtocolValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: PrimitiveProtocolValue -> PrimitiveProtocolValue -> Bool # (/=) :: PrimitiveProtocolValue -> PrimitiveProtocolValue -> Bool # | |||||
| type Rep PrimitiveProtocolValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep PrimitiveProtocolValue = D1 ('MetaData "PrimitiveProtocolValue" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) ((C1 ('MetaCons "UndefinedValue" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "NullValue" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "StringValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StringValue)))) :+: (C1 ('MetaCons "NumberValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Either Double SpecialNumber))) :+: (C1 ('MetaCons "BooleanValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)) :+: C1 ('MetaCons "BigIntValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))) | |||||
Instances
| FromJSON Source Source # | |||||
Defined in WebDriverPreCore.BiDi.Script | |||||
| Generic Source Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
| |||||
| Show Source Source # | |||||
| Eq Source Source # | |||||
| type Rep Source Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep Source = D1 ('MetaData "Source" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSource" 'PrefixI 'True) (S1 ('MetaSel ('Just "realm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Realm) :*: S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BrowsingContext)))) | |||||
data ContextTarget Source #
Constructors
| MkContextTarget | |
Fields | |
Instances
| FromJSON ContextTarget Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods parseJSON :: Value -> Parser ContextTarget # parseJSONList :: Value -> Parser [ContextTarget] # | |||||
| ToJSON ContextTarget Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods toJSON :: ContextTarget -> Value # toEncoding :: ContextTarget -> Encoding # toJSONList :: [ContextTarget] -> Value # toEncodingList :: [ContextTarget] -> Encoding # omitField :: ContextTarget -> Bool # | |||||
| Generic ContextTarget Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
| |||||
| Show ContextTarget Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> ContextTarget -> ShowS # show :: ContextTarget -> String # showList :: [ContextTarget] -> ShowS # | |||||
| Eq ContextTarget Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: ContextTarget -> ContextTarget -> Bool # (/=) :: ContextTarget -> ContextTarget -> Bool # | |||||
| type Rep ContextTarget Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep ContextTarget = D1 ('MetaData "ContextTarget" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkContextTarget" 'PrefixI 'True) (S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BrowsingContext) :*: S1 ('MetaSel ('Just "sandbox") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Sandbox)))) | |||||
Constructors
| RealmTarget Realm | |
| ContextTarget ContextTarget |
Instances
| ToJSON Target Source # | |||||
| Generic Target Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
| |||||
| Show Target Source # | |||||
| Eq Target Source # | |||||
| type Rep Target Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep Target = D1 ('MetaData "Target" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "RealmTarget" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Realm)) :+: C1 ('MetaCons "ContextTarget" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ContextTarget))) | |||||
data SpecialNumber Source #
Constructors
| NaN | |
| NegativeZero | |
| Infinity | |
| NegativeInfinity |
Instances
| FromJSON SpecialNumber Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods parseJSON :: Value -> Parser SpecialNumber # parseJSONList :: Value -> Parser [SpecialNumber] # | |||||
| ToJSON SpecialNumber Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods toJSON :: SpecialNumber -> Value # toEncoding :: SpecialNumber -> Encoding # toJSONList :: [SpecialNumber] -> Value # toEncodingList :: [SpecialNumber] -> Encoding # omitField :: SpecialNumber -> Bool # | |||||
| Generic SpecialNumber Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
| |||||
| Show SpecialNumber Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> SpecialNumber -> ShowS # show :: SpecialNumber -> String # showList :: [SpecialNumber] -> ShowS # | |||||
| Eq SpecialNumber Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: SpecialNumber -> SpecialNumber -> Bool # (/=) :: SpecialNumber -> SpecialNumber -> Bool # | |||||
| type Rep SpecialNumber Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep SpecialNumber = D1 ('MetaData "SpecialNumber" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) ((C1 ('MetaCons "NaN" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NegativeZero" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Infinity" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NegativeInfinity" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
newtype WindowProxyProperties Source #
Properties of a WindowProxy remote value
Constructors
| MkWindowProxyProperties | |
Fields | |
Instances
| FromJSON WindowProxyProperties Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods parseJSON :: Value -> Parser WindowProxyProperties # parseJSONList :: Value -> Parser [WindowProxyProperties] # | |||||
| ToJSON WindowProxyProperties Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods toJSON :: WindowProxyProperties -> Value # toEncoding :: WindowProxyProperties -> Encoding # toJSONList :: [WindowProxyProperties] -> Value # toEncodingList :: [WindowProxyProperties] -> Encoding # omitField :: WindowProxyProperties -> Bool # | |||||
| Generic WindowProxyProperties Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
Methods from :: WindowProxyProperties -> Rep WindowProxyProperties x # to :: Rep WindowProxyProperties x -> WindowProxyProperties # | |||||
| Show WindowProxyProperties Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> WindowProxyProperties -> ShowS # show :: WindowProxyProperties -> String # showList :: [WindowProxyProperties] -> ShowS # | |||||
| Eq WindowProxyProperties Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: WindowProxyProperties -> WindowProxyProperties -> Bool # (/=) :: WindowProxyProperties -> WindowProxyProperties -> Bool # | |||||
| type Rep WindowProxyProperties Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep WindowProxyProperties = D1 ('MetaData "WindowProxyProperties" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkWindowProxyProperties" 'PrefixI 'True) (S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BrowsingContext))) | |||||
data LocalValue Source #
Constructors
| RemoteReference RemoteReference | |
| PrimitiveLocalValue PrimitiveProtocolValue | |
| ChannelValue ChannelValue | |
| ArrayLocalValue ArrayLocalValue | |
| DateLocalValue DateLocalValue | |
| MapLocalValue MapLocalValue | |
| ObjectLocalValue ObjectLocalValue | |
| RegExpLocalValue RegExpLocalValue | |
| SetLocalValue SetLocalValue |
Instances
| ToJSON LocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods toJSON :: LocalValue -> Value # toEncoding :: LocalValue -> Encoding # toJSONList :: [LocalValue] -> Value # toEncodingList :: [LocalValue] -> Encoding # omitField :: LocalValue -> Bool # | |||||
| Generic LocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
| |||||
| Show LocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> LocalValue -> ShowS # show :: LocalValue -> String # showList :: [LocalValue] -> ShowS # | |||||
| Eq LocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script | |||||
| type Rep LocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep LocalValue = D1 ('MetaData "LocalValue" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (((C1 ('MetaCons "RemoteReference" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RemoteReference)) :+: C1 ('MetaCons "PrimitiveLocalValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PrimitiveProtocolValue))) :+: (C1 ('MetaCons "ChannelValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChannelValue)) :+: C1 ('MetaCons "ArrayLocalValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ArrayLocalValue)))) :+: ((C1 ('MetaCons "DateLocalValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DateLocalValue)) :+: C1 ('MetaCons "MapLocalValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MapLocalValue))) :+: (C1 ('MetaCons "ObjectLocalValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ObjectLocalValue)) :+: (C1 ('MetaCons "RegExpLocalValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RegExpLocalValue)) :+: C1 ('MetaCons "SetLocalValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SetLocalValue)))))) | |||||
newtype ListLocalValue Source #
List of local values
Constructors
| MkListLocalValue [LocalValue] |
Instances
| ToJSON ListLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods toJSON :: ListLocalValue -> Value # toEncoding :: ListLocalValue -> Encoding # toJSONList :: [ListLocalValue] -> Value # toEncodingList :: [ListLocalValue] -> Encoding # omitField :: ListLocalValue -> Bool # | |||||
| Generic ListLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
Methods from :: ListLocalValue -> Rep ListLocalValue x # to :: Rep ListLocalValue x -> ListLocalValue # | |||||
| Show ListLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> ListLocalValue -> ShowS # show :: ListLocalValue -> String # showList :: [ListLocalValue] -> ShowS # | |||||
| Eq ListLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: ListLocalValue -> ListLocalValue -> Bool # (/=) :: ListLocalValue -> ListLocalValue -> Bool # | |||||
| type Rep ListLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep ListLocalValue = D1 ('MetaData "ListLocalValue" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkListLocalValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [LocalValue]))) | |||||
newtype MappingLocalValue Source #
Mapping of local values
Constructors
| MkMappingLocalValue [(Either LocalValue Text, LocalValue)] |
Instances
| ToJSON MappingLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods toJSON :: MappingLocalValue -> Value # toEncoding :: MappingLocalValue -> Encoding # toJSONList :: [MappingLocalValue] -> Value # toEncodingList :: [MappingLocalValue] -> Encoding # omitField :: MappingLocalValue -> Bool # | |||||
| Generic MappingLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
Methods from :: MappingLocalValue -> Rep MappingLocalValue x # to :: Rep MappingLocalValue x -> MappingLocalValue # | |||||
| Show MappingLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> MappingLocalValue -> ShowS # show :: MappingLocalValue -> String # showList :: [MappingLocalValue] -> ShowS # | |||||
| Eq MappingLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: MappingLocalValue -> MappingLocalValue -> Bool # (/=) :: MappingLocalValue -> MappingLocalValue -> Bool # | |||||
| type Rep MappingLocalValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep MappingLocalValue = D1 ('MetaData "MappingLocalValue" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkMappingLocalValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(Either LocalValue Text, LocalValue)]))) | |||||
data RegExpValue Source #
RegExp value
Constructors
| MkRegExpValue | |
Fields
| |
Instances
| ToJSON RegExpValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods toJSON :: RegExpValue -> Value # toEncoding :: RegExpValue -> Encoding # toJSONList :: [RegExpValue] -> Value # toEncodingList :: [RegExpValue] -> Encoding # omitField :: RegExpValue -> Bool # | |||||
| Generic RegExpValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
| |||||
| Show RegExpValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> RegExpValue -> ShowS # show :: RegExpValue -> String # showList :: [RegExpValue] -> ShowS # | |||||
| Eq RegExpValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script | |||||
| type Rep RegExpValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep RegExpValue = D1 ('MetaData "RegExpValue" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkRegExpValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "regExpPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "flags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) | |||||
data ResultOwnership Source #
Constructors
| Root | |
| OwnershipNone |
Instances
| FromJSON ResultOwnership Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods parseJSON :: Value -> Parser ResultOwnership # parseJSONList :: Value -> Parser [ResultOwnership] # | |||||
| ToJSON ResultOwnership Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods toJSON :: ResultOwnership -> Value # toEncoding :: ResultOwnership -> Encoding # toJSONList :: [ResultOwnership] -> Value # toEncodingList :: [ResultOwnership] -> Encoding # omitField :: ResultOwnership -> Bool # | |||||
| Generic ResultOwnership Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
Methods from :: ResultOwnership -> Rep ResultOwnership x # to :: Rep ResultOwnership x -> ResultOwnership # | |||||
| Show ResultOwnership Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> ResultOwnership -> ShowS # show :: ResultOwnership -> String # showList :: [ResultOwnership] -> ShowS # | |||||
| Eq ResultOwnership Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: ResultOwnership -> ResultOwnership -> Bool # (/=) :: ResultOwnership -> ResultOwnership -> Bool # | |||||
| type Rep ResultOwnership Source # | |||||
Defined in WebDriverPreCore.BiDi.Script | |||||
data SerializationOptions Source #
Constructors
| MkSerializationOptions | |
Fields | |
Instances
| ToJSON SerializationOptions Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods toJSON :: SerializationOptions -> Value # toEncoding :: SerializationOptions -> Encoding # toJSONList :: [SerializationOptions] -> Value # toEncodingList :: [SerializationOptions] -> Encoding # omitField :: SerializationOptions -> Bool # | |||||
| Generic SerializationOptions Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
Methods from :: SerializationOptions -> Rep SerializationOptions x # to :: Rep SerializationOptions x -> SerializationOptions # | |||||
| Show SerializationOptions Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> SerializationOptions -> ShowS # show :: SerializationOptions -> String # showList :: [SerializationOptions] -> ShowS # | |||||
| Eq SerializationOptions Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: SerializationOptions -> SerializationOptions -> Bool # (/=) :: SerializationOptions -> SerializationOptions -> Bool # | |||||
| type Rep SerializationOptions Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep SerializationOptions = D1 ('MetaData "SerializationOptions" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSerializationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxDomDepth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Maybe JSUInt))) :*: (S1 ('MetaSel ('Just "maxObjectDepth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Maybe JSUInt))) :*: S1 ('MetaSel ('Just "includeShadowTree") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IncludeShadowTree))))) | |||||
RealmType represents the different types of Realm
Constructors
| WindowRealm | |
| DedicatedWorkerRealm | |
| SharedWorkerRealm | |
| ServiceWorkerRealm | |
| WorkerRealm | |
| PaintWorkletRealm | |
| AudioWorkletRealm | |
| WorkletRealm |
Instances
| FromJSON RealmType Source # | |||||
Defined in WebDriverPreCore.BiDi.Script | |||||
| ToJSON RealmType Source # | |||||
| Generic RealmType Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
| |||||
| Show RealmType Source # | |||||
| Eq RealmType Source # | |||||
| type Rep RealmType Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep RealmType = D1 ('MetaData "RealmType" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (((C1 ('MetaCons "WindowRealm" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DedicatedWorkerRealm" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SharedWorkerRealm" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ServiceWorkerRealm" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "WorkerRealm" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PaintWorkletRealm" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "AudioWorkletRealm" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WorkletRealm" 'PrefixI 'False) (U1 :: Type -> Type)))) | |||||
Instances
| FromJSON Realm Source # | |||||
Defined in WebDriverPreCore.BiDi.Script | |||||
| ToJSON Realm Source # | |||||
| Generic Realm Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
| |||||
| Show Realm Source # | |||||
| Eq Realm Source # | |||||
| type Rep Realm Source # | |||||
Defined in WebDriverPreCore.BiDi.Script | |||||
data BaseRealmInfo Source #
Constructors
| BaseRealmInfo | |
Instances
| FromJSON BaseRealmInfo Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods parseJSON :: Value -> Parser BaseRealmInfo # parseJSONList :: Value -> Parser [BaseRealmInfo] # | |||||
| Generic BaseRealmInfo Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
| |||||
| Show BaseRealmInfo Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> BaseRealmInfo -> ShowS # show :: BaseRealmInfo -> String # showList :: [BaseRealmInfo] -> ShowS # | |||||
| Eq BaseRealmInfo Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: BaseRealmInfo -> BaseRealmInfo -> Bool # (/=) :: BaseRealmInfo -> BaseRealmInfo -> Bool # | |||||
| type Rep BaseRealmInfo Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep BaseRealmInfo = D1 ('MetaData "BaseRealmInfo" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "BaseRealmInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "realm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Realm) :*: S1 ('MetaSel ('Just "origin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |||||
data ChannelProperties Source #
Constructors
| MkChannelProperties | |
Fields | |
Instances
| ToJSON ChannelProperties Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods toJSON :: ChannelProperties -> Value # toEncoding :: ChannelProperties -> Encoding # toJSONList :: [ChannelProperties] -> Value # toEncodingList :: [ChannelProperties] -> Encoding # omitField :: ChannelProperties -> Bool # | |||||
| Generic ChannelProperties Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
Methods from :: ChannelProperties -> Rep ChannelProperties x # to :: Rep ChannelProperties x -> ChannelProperties # | |||||
| Show ChannelProperties Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> ChannelProperties -> ShowS # show :: ChannelProperties -> String # showList :: [ChannelProperties] -> ShowS # | |||||
| Eq ChannelProperties Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: ChannelProperties -> ChannelProperties -> Bool # (/=) :: ChannelProperties -> ChannelProperties -> Bool # | |||||
| type Rep ChannelProperties Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep ChannelProperties = D1 ('MetaData "ChannelProperties" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkChannelProperties" 'PrefixI 'True) (S1 ('MetaSel ('Just "channel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Channel) :*: (S1 ('MetaSel ('Just "serializationOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SerializationOptions)) :*: S1 ('MetaSel ('Just "ownership") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResultOwnership))))) | |||||
newtype PreloadScript Source #
Constructors
| MkPreloadScript Text |
Instances
| FromJSON PreloadScript Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods parseJSON :: Value -> Parser PreloadScript # parseJSONList :: Value -> Parser [PreloadScript] # | |||||
| ToJSON PreloadScript Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods toJSON :: PreloadScript -> Value # toEncoding :: PreloadScript -> Encoding # toJSONList :: [PreloadScript] -> Value # toEncodingList :: [PreloadScript] -> Encoding # omitField :: PreloadScript -> Bool # | |||||
| Generic PreloadScript Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
| |||||
| Show PreloadScript Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> PreloadScript -> ShowS # show :: PreloadScript -> String # showList :: [PreloadScript] -> ShowS # | |||||
| Eq PreloadScript Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: PreloadScript -> PreloadScript -> Bool # (/=) :: PreloadScript -> PreloadScript -> Bool # | |||||
| type Rep PreloadScript Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep PreloadScript = D1 ('MetaData "PreloadScript" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkPreloadScript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |||||
data RemoteReference Source #
Constructors
| MkRemoteReference | |
Instances
| ToJSON RemoteReference Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods toJSON :: RemoteReference -> Value # toEncoding :: RemoteReference -> Encoding # toJSONList :: [RemoteReference] -> Value # toEncodingList :: [RemoteReference] -> Encoding # omitField :: RemoteReference -> Bool # | |||||
| Generic RemoteReference Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Associated Types
Methods from :: RemoteReference -> Rep RemoteReference x # to :: Rep RemoteReference x -> RemoteReference # | |||||
| Show RemoteReference Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods showsPrec :: Int -> RemoteReference -> ShowS # show :: RemoteReference -> String # showList :: [RemoteReference] -> ShowS # | |||||
| Eq RemoteReference Source # | |||||
Defined in WebDriverPreCore.BiDi.Script Methods (==) :: RemoteReference -> RemoteReference -> Bool # (/=) :: RemoteReference -> RemoteReference -> Bool # | |||||
| type Rep RemoteReference Source # | |||||
Defined in WebDriverPreCore.BiDi.Script type Rep RemoteReference = D1 ('MetaData "RemoteReference" "WebDriverPreCore.BiDi.Script" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkRemoteReference" 'PrefixI 'True) (S1 ('MetaSel ('Just "sharedreference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SharedReference) :*: S1 ('MetaSel ('Just "remoteObjectReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RemoteObjectReference))) | |||||
Session
data SessionStatusResult Source #
Session Status Result
Constructors
| MkSessionStatusResult | |
Instances
| FromJSON SessionStatusResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Session Methods parseJSON :: Value -> Parser SessionStatusResult # parseJSONList :: Value -> Parser [SessionStatusResult] # | |||||
| Generic SessionStatusResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Session Associated Types
Methods from :: SessionStatusResult -> Rep SessionStatusResult x # to :: Rep SessionStatusResult x -> SessionStatusResult # | |||||
| Show SessionStatusResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Session Methods showsPrec :: Int -> SessionStatusResult -> ShowS # show :: SessionStatusResult -> String # showList :: [SessionStatusResult] -> ShowS # | |||||
| Eq SessionStatusResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Session Methods (==) :: SessionStatusResult -> SessionStatusResult -> Bool # (/=) :: SessionStatusResult -> SessionStatusResult -> Bool # | |||||
| type Rep SessionStatusResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Session type Rep SessionStatusResult = D1 ('MetaData "SessionStatusResult" "WebDriverPreCore.BiDi.Session" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSessionStatusResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "ready") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |||||
data SessionNewResult Source #
Session New Result
Constructors
| MkSessionNewResult | |
Fields | |
Instances
| FromJSON SessionNewResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Session Methods parseJSON :: Value -> Parser SessionNewResult # parseJSONList :: Value -> Parser [SessionNewResult] # | |||||
| ToJSON SessionNewResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Session Methods toJSON :: SessionNewResult -> Value # toEncoding :: SessionNewResult -> Encoding # toJSONList :: [SessionNewResult] -> Value # toEncodingList :: [SessionNewResult] -> Encoding # omitField :: SessionNewResult -> Bool # | |||||
| Generic SessionNewResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Session Associated Types
Methods from :: SessionNewResult -> Rep SessionNewResult x # to :: Rep SessionNewResult x -> SessionNewResult # | |||||
| Show SessionNewResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Session Methods showsPrec :: Int -> SessionNewResult -> ShowS # show :: SessionNewResult -> String # showList :: [SessionNewResult] -> ShowS # | |||||
| Eq SessionNewResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Session Methods (==) :: SessionNewResult -> SessionNewResult -> Bool # (/=) :: SessionNewResult -> SessionNewResult -> Bool # | |||||
| type Rep SessionNewResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Session type Rep SessionNewResult = D1 ('MetaData "SessionNewResult" "WebDriverPreCore.BiDi.Session" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSessionNewResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "sessionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "capabilities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CapabilitiesResult))) | |||||
data SessionSubscibe Source #
Subscription Request
Constructors
| MkSessionSubscribe | |
Fields
| |
Instances
| ToJSON SessionSubscibe Source # | |||||
Defined in WebDriverPreCore.BiDi.Session Methods toJSON :: SessionSubscibe -> Value # toEncoding :: SessionSubscibe -> Encoding # toJSONList :: [SessionSubscibe] -> Value # toEncodingList :: [SessionSubscibe] -> Encoding # omitField :: SessionSubscibe -> Bool # | |||||
| Generic SessionSubscibe Source # | |||||
Defined in WebDriverPreCore.BiDi.Session Associated Types
Methods from :: SessionSubscibe -> Rep SessionSubscibe x # to :: Rep SessionSubscibe x -> SessionSubscibe # | |||||
| Show SessionSubscibe Source # | |||||
Defined in WebDriverPreCore.BiDi.Session Methods showsPrec :: Int -> SessionSubscibe -> ShowS # show :: SessionSubscibe -> String # showList :: [SessionSubscibe] -> ShowS # | |||||
| Eq SessionSubscibe Source # | |||||
Defined in WebDriverPreCore.BiDi.Session Methods (==) :: SessionSubscibe -> SessionSubscibe -> Bool # (/=) :: SessionSubscibe -> SessionSubscibe -> Bool # | |||||
| type Rep SessionSubscibe Source # | |||||
Defined in WebDriverPreCore.BiDi.Session type Rep SessionSubscibe = D1 ('MetaData "SessionSubscibe" "WebDriverPreCore.BiDi.Session" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSessionSubscribe" 'PrefixI 'True) (S1 ('MetaSel ('Just "events") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SubscriptionType]) :*: (S1 ('MetaSel ('Just "contexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BrowsingContext])) :*: S1 ('MetaSel ('Just "userContexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserContext]))))) | |||||
newtype SessionSubscribeResult Source #
Session Subscribe Result
Constructors
| MkSessionSubscribeResult | |
Fields | |
Instances
| FromJSON SessionSubscribeResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Session Methods parseJSON :: Value -> Parser SessionSubscribeResult # parseJSONList :: Value -> Parser [SessionSubscribeResult] # | |||||
| Generic SessionSubscribeResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Session Associated Types
Methods from :: SessionSubscribeResult -> Rep SessionSubscribeResult x # to :: Rep SessionSubscribeResult x -> SessionSubscribeResult # | |||||
| Show SessionSubscribeResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Session Methods showsPrec :: Int -> SessionSubscribeResult -> ShowS # show :: SessionSubscribeResult -> String # showList :: [SessionSubscribeResult] -> ShowS # | |||||
| Eq SessionSubscribeResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Session Methods (==) :: SessionSubscribeResult -> SessionSubscribeResult -> Bool # (/=) :: SessionSubscribeResult -> SessionSubscribeResult -> Bool # | |||||
| type Rep SessionSubscribeResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Session type Rep SessionSubscribeResult = D1 ('MetaData "SessionSubscribeResult" "WebDriverPreCore.BiDi.Session" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkSessionSubscribeResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "subscription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SubscriptionId))) | |||||
data SessionUnsubscribe Source #
Unsubscribe Parameters
Constructors
| UnsubscribeById | |
Fields | |
| UnsubscribeByAttributes | |
Fields | |
Instances
| ToJSON SessionUnsubscribe Source # | |||||
Defined in WebDriverPreCore.BiDi.Session Methods toJSON :: SessionUnsubscribe -> Value # toEncoding :: SessionUnsubscribe -> Encoding # toJSONList :: [SessionUnsubscribe] -> Value # toEncodingList :: [SessionUnsubscribe] -> Encoding # omitField :: SessionUnsubscribe -> Bool # | |||||
| Generic SessionUnsubscribe Source # | |||||
Defined in WebDriverPreCore.BiDi.Session Associated Types
Methods from :: SessionUnsubscribe -> Rep SessionUnsubscribe x # to :: Rep SessionUnsubscribe x -> SessionUnsubscribe # | |||||
| Show SessionUnsubscribe Source # | |||||
Defined in WebDriverPreCore.BiDi.Session Methods showsPrec :: Int -> SessionUnsubscribe -> ShowS # show :: SessionUnsubscribe -> String # showList :: [SessionUnsubscribe] -> ShowS # | |||||
| Eq SessionUnsubscribe Source # | |||||
Defined in WebDriverPreCore.BiDi.Session Methods (==) :: SessionUnsubscribe -> SessionUnsubscribe -> Bool # (/=) :: SessionUnsubscribe -> SessionUnsubscribe -> Bool # | |||||
| type Rep SessionUnsubscribe Source # | |||||
Defined in WebDriverPreCore.BiDi.Session type Rep SessionUnsubscribe = D1 ('MetaData "SessionUnsubscribe" "WebDriverPreCore.BiDi.Session" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "UnsubscribeById" 'PrefixI 'True) (S1 ('MetaSel ('Just "subscriptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SubscriptionId])) :+: C1 ('MetaCons "UnsubscribeByAttributes" 'PrefixI 'True) (S1 ('MetaSel ('Just "unsubEvents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SubscriptionType]))) | |||||
newtype SubscriptionId Source #
Subscription
Constructors
| MkSubscriptionId | |
Fields | |
Instances
| FromJSON SubscriptionId Source # | |
Defined in WebDriverPreCore.BiDi.Session Methods parseJSON :: Value -> Parser SubscriptionId # parseJSONList :: Value -> Parser [SubscriptionId] # | |
| ToJSON SubscriptionId Source # | |
Defined in WebDriverPreCore.BiDi.Session Methods toJSON :: SubscriptionId -> Value # toEncoding :: SubscriptionId -> Encoding # toJSONList :: [SubscriptionId] -> Value # toEncodingList :: [SubscriptionId] -> Encoding # omitField :: SubscriptionId -> Bool # | |
| Show SubscriptionId Source # | |
Defined in WebDriverPreCore.BiDi.Session Methods showsPrec :: Int -> SubscriptionId -> ShowS # show :: SubscriptionId -> String # showList :: [SubscriptionId] -> ShowS # | |
| Eq SubscriptionId Source # | |
Defined in WebDriverPreCore.BiDi.Session Methods (==) :: SubscriptionId -> SubscriptionId -> Bool # (/=) :: SubscriptionId -> SubscriptionId -> Bool # | |
Storage
data CookieFilter Source #
Filter for cookie operations
Constructors
| MkCookieFilter | |
Instances
| FromJSON CookieFilter Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage | |||||
| ToJSON CookieFilter Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Methods toJSON :: CookieFilter -> Value # toEncoding :: CookieFilter -> Encoding # toJSONList :: [CookieFilter] -> Value # toEncodingList :: [CookieFilter] -> Encoding # omitField :: CookieFilter -> Bool # | |||||
| Generic CookieFilter Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Associated Types
| |||||
| Show CookieFilter Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Methods showsPrec :: Int -> CookieFilter -> ShowS # show :: CookieFilter -> String # showList :: [CookieFilter] -> ShowS # | |||||
| Eq CookieFilter Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage | |||||
| type Rep CookieFilter Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage type Rep CookieFilter = D1 ('MetaData "CookieFilter" "WebDriverPreCore.BiDi.Storage" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkCookieFilter" 'PrefixI 'True) (((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BytesValue))) :*: (S1 ('MetaSel ('Just "domain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "httpOnly") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "secure") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "sameSite") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SameSite)) :*: S1 ('MetaSel ('Just "expiry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))))) | |||||
data PartialCookie Source #
Partial cookie for setting
Constructors
| MkPartialCookie | |
Instances
| ToJSON PartialCookie Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Methods toJSON :: PartialCookie -> Value # toEncoding :: PartialCookie -> Encoding # toJSONList :: [PartialCookie] -> Value # toEncodingList :: [PartialCookie] -> Encoding # omitField :: PartialCookie -> Bool # | |||||
| Generic PartialCookie Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Associated Types
| |||||
| Show PartialCookie Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Methods showsPrec :: Int -> PartialCookie -> ShowS # show :: PartialCookie -> String # showList :: [PartialCookie] -> ShowS # | |||||
| Eq PartialCookie Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Methods (==) :: PartialCookie -> PartialCookie -> Bool # (/=) :: PartialCookie -> PartialCookie -> Bool # | |||||
| type Rep PartialCookie Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage type Rep PartialCookie = D1 ('MetaData "PartialCookie" "WebDriverPreCore.BiDi.Storage" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkPartialCookie" 'PrefixI 'True) (((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BytesValue)) :*: (S1 ('MetaSel ('Just "domain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "httpOnly") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "secure") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "sameSite") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SameSite)) :*: S1 ('MetaSel ('Just "expiry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) | |||||
Parameters for setting a cookie
Constructors
| MkSetCookie | |
Fields | |
Instances
| ToJSON SetCookie Source # | |||||
| Generic SetCookie Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Associated Types
| |||||
| Show SetCookie Source # | |||||
| Eq SetCookie Source # | |||||
| type Rep SetCookie Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage type Rep SetCookie = D1 ('MetaData "SetCookie" "WebDriverPreCore.BiDi.Storage" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSetCookie" 'PrefixI 'True) (S1 ('MetaSel ('Just "cookie") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PartialCookie) :*: S1 ('MetaSel ('Just "partition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PartitionDescriptor)))) | |||||
data DeleteCookies Source #
Parameters for deleting cookies
Constructors
| MkDeleteCookies | |
Fields | |
Instances
| ToJSON DeleteCookies Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Methods toJSON :: DeleteCookies -> Value # toEncoding :: DeleteCookies -> Encoding # toJSONList :: [DeleteCookies] -> Value # toEncodingList :: [DeleteCookies] -> Encoding # omitField :: DeleteCookies -> Bool # | |||||
| Generic DeleteCookies Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Associated Types
| |||||
| Show DeleteCookies Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Methods showsPrec :: Int -> DeleteCookies -> ShowS # show :: DeleteCookies -> String # showList :: [DeleteCookies] -> ShowS # | |||||
| Eq DeleteCookies Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Methods (==) :: DeleteCookies -> DeleteCookies -> Bool # (/=) :: DeleteCookies -> DeleteCookies -> Bool # | |||||
| type Rep DeleteCookies Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage type Rep DeleteCookies = D1 ('MetaData "DeleteCookies" "WebDriverPreCore.BiDi.Storage" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkDeleteCookies" 'PrefixI 'True) (S1 ('MetaSel ('Just "filter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CookieFilter)) :*: S1 ('MetaSel ('Just "partition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PartitionDescriptor)))) | |||||
data GetCookies Source #
Parameters for getting cookies
Constructors
| MkGetCookies | |
Fields | |
Instances
| ToJSON GetCookies Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Methods toJSON :: GetCookies -> Value # toEncoding :: GetCookies -> Encoding # toJSONList :: [GetCookies] -> Value # toEncodingList :: [GetCookies] -> Encoding # omitField :: GetCookies -> Bool # | |||||
| Generic GetCookies Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Associated Types
| |||||
| Show GetCookies Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Methods showsPrec :: Int -> GetCookies -> ShowS # show :: GetCookies -> String # showList :: [GetCookies] -> ShowS # | |||||
| Eq GetCookies Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage | |||||
| type Rep GetCookies Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage type Rep GetCookies = D1 ('MetaData "GetCookies" "WebDriverPreCore.BiDi.Storage" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkGetCookies" 'PrefixI 'True) (S1 ('MetaSel ('Just "filter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CookieFilter)) :*: S1 ('MetaSel ('Just "partition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PartitionDescriptor)))) | |||||
newtype DeleteCookiesResult Source #
Result of deleting cookies
Constructors
| MkDeleteCookiesResult | |
Fields | |
Instances
| FromJSON DeleteCookiesResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Methods parseJSON :: Value -> Parser DeleteCookiesResult # parseJSONList :: Value -> Parser [DeleteCookiesResult] # | |||||
| Generic DeleteCookiesResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Associated Types
Methods from :: DeleteCookiesResult -> Rep DeleteCookiesResult x # to :: Rep DeleteCookiesResult x -> DeleteCookiesResult # | |||||
| Show DeleteCookiesResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Methods showsPrec :: Int -> DeleteCookiesResult -> ShowS # show :: DeleteCookiesResult -> String # showList :: [DeleteCookiesResult] -> ShowS # | |||||
| Eq DeleteCookiesResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Methods (==) :: DeleteCookiesResult -> DeleteCookiesResult -> Bool # (/=) :: DeleteCookiesResult -> DeleteCookiesResult -> Bool # | |||||
| type Rep DeleteCookiesResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage type Rep DeleteCookiesResult = D1 ('MetaData "DeleteCookiesResult" "WebDriverPreCore.BiDi.Storage" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkDeleteCookiesResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "partitionKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PartitionKey))) | |||||
data GetCookiesResult Source #
Result of getting cookies
Constructors
| MkGetCookiesResult | |
Fields
| |
Instances
| FromJSON GetCookiesResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Methods parseJSON :: Value -> Parser GetCookiesResult # parseJSONList :: Value -> Parser [GetCookiesResult] # | |||||
| Generic GetCookiesResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Associated Types
Methods from :: GetCookiesResult -> Rep GetCookiesResult x # to :: Rep GetCookiesResult x -> GetCookiesResult # | |||||
| Show GetCookiesResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Methods showsPrec :: Int -> GetCookiesResult -> ShowS # show :: GetCookiesResult -> String # showList :: [GetCookiesResult] -> ShowS # | |||||
| Eq GetCookiesResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Methods (==) :: GetCookiesResult -> GetCookiesResult -> Bool # (/=) :: GetCookiesResult -> GetCookiesResult -> Bool # | |||||
| type Rep GetCookiesResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage type Rep GetCookiesResult = D1 ('MetaData "GetCookiesResult" "WebDriverPreCore.BiDi.Storage" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkGetCookiesResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "cookies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Cookie]) :*: S1 ('MetaSel ('Just "partitionKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PartitionKey))) | |||||
newtype SetCookieResult Source #
Result of setting a cookie
Constructors
| MkSetCookieResult | |
Fields | |
Instances
| FromJSON SetCookieResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Methods parseJSON :: Value -> Parser SetCookieResult # parseJSONList :: Value -> Parser [SetCookieResult] # | |||||
| Generic SetCookieResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Associated Types
Methods from :: SetCookieResult -> Rep SetCookieResult x # to :: Rep SetCookieResult x -> SetCookieResult # | |||||
| Show SetCookieResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Methods showsPrec :: Int -> SetCookieResult -> ShowS # show :: SetCookieResult -> String # showList :: [SetCookieResult] -> ShowS # | |||||
| Eq SetCookieResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Methods (==) :: SetCookieResult -> SetCookieResult -> Bool # (/=) :: SetCookieResult -> SetCookieResult -> Bool # | |||||
| type Rep SetCookieResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage type Rep SetCookieResult = D1 ('MetaData "SetCookieResult" "WebDriverPreCore.BiDi.Storage" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkSetCookieResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "partitionKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PartitionKey))) | |||||
data PartitionKey Source #
Partition key for storage operations
Constructors
| MkPartitionKey | |
Fields
| |
Instances
| FromJSON PartitionKey Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage | |||||
| ToJSON PartitionKey Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Methods toJSON :: PartitionKey -> Value # toEncoding :: PartitionKey -> Encoding # toJSONList :: [PartitionKey] -> Value # toEncodingList :: [PartitionKey] -> Encoding # omitField :: PartitionKey -> Bool # | |||||
| Generic PartitionKey Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Associated Types
| |||||
| Show PartitionKey Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Methods showsPrec :: Int -> PartitionKey -> ShowS # show :: PartitionKey -> String # showList :: [PartitionKey] -> ShowS # | |||||
| Eq PartitionKey Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage | |||||
| type Rep PartitionKey Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage type Rep PartitionKey = D1 ('MetaData "PartitionKey" "WebDriverPreCore.BiDi.Storage" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkPartitionKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "userContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourceOrigin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) | |||||
data PartitionDescriptor Source #
Descriptor for a partition
Constructors
| BrowsingContextPartition | |
Fields | |
| StorageKeyPartition | |
Fields | |
Instances
| FromJSON PartitionDescriptor Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Methods parseJSON :: Value -> Parser PartitionDescriptor # parseJSONList :: Value -> Parser [PartitionDescriptor] # | |||||
| ToJSON PartitionDescriptor Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Methods toJSON :: PartitionDescriptor -> Value # toEncoding :: PartitionDescriptor -> Encoding # toJSONList :: [PartitionDescriptor] -> Value # toEncodingList :: [PartitionDescriptor] -> Encoding # omitField :: PartitionDescriptor -> Bool # | |||||
| Generic PartitionDescriptor Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Associated Types
Methods from :: PartitionDescriptor -> Rep PartitionDescriptor x # to :: Rep PartitionDescriptor x -> PartitionDescriptor # | |||||
| Show PartitionDescriptor Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Methods showsPrec :: Int -> PartitionDescriptor -> ShowS # show :: PartitionDescriptor -> String # showList :: [PartitionDescriptor] -> ShowS # | |||||
| Eq PartitionDescriptor Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage Methods (==) :: PartitionDescriptor -> PartitionDescriptor -> Bool # (/=) :: PartitionDescriptor -> PartitionDescriptor -> Bool # | |||||
| type Rep PartitionDescriptor Source # | |||||
Defined in WebDriverPreCore.BiDi.Storage type Rep PartitionDescriptor = D1 ('MetaData "PartitionDescriptor" "WebDriverPreCore.BiDi.Storage" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "BrowsingContextPartition" 'PrefixI 'True) (S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BrowsingContext)) :+: C1 ('MetaCons "StorageKeyPartition" 'PrefixI 'True) (S1 ('MetaSel ('Just "userContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserContext)) :*: S1 ('MetaSel ('Just "sourceOrigin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) | |||||
Web Extensions
data WebExtensionInstall Source #
Constructors
| ExtensionPath Text | |
| ExtensionArchivePath Text | |
| ExtensionBase64Encoded Text |
Instances
| ToJSON WebExtensionInstall Source # | |||||
Defined in WebDriverPreCore.BiDi.WebExtensions Methods toJSON :: WebExtensionInstall -> Value # toEncoding :: WebExtensionInstall -> Encoding # toJSONList :: [WebExtensionInstall] -> Value # toEncodingList :: [WebExtensionInstall] -> Encoding # omitField :: WebExtensionInstall -> Bool # | |||||
| Generic WebExtensionInstall Source # | |||||
Defined in WebDriverPreCore.BiDi.WebExtensions Associated Types
Methods from :: WebExtensionInstall -> Rep WebExtensionInstall x # to :: Rep WebExtensionInstall x -> WebExtensionInstall # | |||||
| Show WebExtensionInstall Source # | |||||
Defined in WebDriverPreCore.BiDi.WebExtensions Methods showsPrec :: Int -> WebExtensionInstall -> ShowS # show :: WebExtensionInstall -> String # showList :: [WebExtensionInstall] -> ShowS # | |||||
| Eq WebExtensionInstall Source # | |||||
Defined in WebDriverPreCore.BiDi.WebExtensions Methods (==) :: WebExtensionInstall -> WebExtensionInstall -> Bool # (/=) :: WebExtensionInstall -> WebExtensionInstall -> Bool # | |||||
| type Rep WebExtensionInstall Source # | |||||
Defined in WebDriverPreCore.BiDi.WebExtensions type Rep WebExtensionInstall = D1 ('MetaData "WebExtensionInstall" "WebDriverPreCore.BiDi.WebExtensions" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "ExtensionPath" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: (C1 ('MetaCons "ExtensionArchivePath" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: C1 ('MetaCons "ExtensionBase64Encoded" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) | |||||
data WebExtensionResult Source #
Represents a command to install a web extension
Constructors
| WebExtensionInstallResult | |
Fields | |
Instances
| FromJSON WebExtensionResult Source # | |||||
Defined in WebDriverPreCore.BiDi.WebExtensions Methods parseJSON :: Value -> Parser WebExtensionResult # parseJSONList :: Value -> Parser [WebExtensionResult] # | |||||
| ToJSON WebExtensionResult Source # | |||||
Defined in WebDriverPreCore.BiDi.WebExtensions Methods toJSON :: WebExtensionResult -> Value # toEncoding :: WebExtensionResult -> Encoding # toJSONList :: [WebExtensionResult] -> Value # toEncodingList :: [WebExtensionResult] -> Encoding # omitField :: WebExtensionResult -> Bool # | |||||
| Generic WebExtensionResult Source # | |||||
Defined in WebDriverPreCore.BiDi.WebExtensions Associated Types
Methods from :: WebExtensionResult -> Rep WebExtensionResult x # to :: Rep WebExtensionResult x -> WebExtensionResult # | |||||
| Show WebExtensionResult Source # | |||||
Defined in WebDriverPreCore.BiDi.WebExtensions Methods showsPrec :: Int -> WebExtensionResult -> ShowS # show :: WebExtensionResult -> String # showList :: [WebExtensionResult] -> ShowS # | |||||
| Eq WebExtensionResult Source # | |||||
Defined in WebDriverPreCore.BiDi.WebExtensions Methods (==) :: WebExtensionResult -> WebExtensionResult -> Bool # (/=) :: WebExtensionResult -> WebExtensionResult -> Bool # | |||||
| type Rep WebExtensionResult Source # | |||||
Defined in WebDriverPreCore.BiDi.WebExtensions type Rep WebExtensionResult = D1 ('MetaData "WebExtensionResult" "WebDriverPreCore.BiDi.WebExtensions" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "WebExtensionInstallResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "extension") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 WebExtensionID))) | |||||
newtype WebExtensionUninstall Source #
Constructors
| MkWebExtensionUninstall | |
Fields | |
Instances
| ToJSON WebExtensionUninstall Source # | |||||
Defined in WebDriverPreCore.BiDi.WebExtensions Methods toJSON :: WebExtensionUninstall -> Value # toEncoding :: WebExtensionUninstall -> Encoding # toJSONList :: [WebExtensionUninstall] -> Value # toEncodingList :: [WebExtensionUninstall] -> Encoding # omitField :: WebExtensionUninstall -> Bool # | |||||
| Generic WebExtensionUninstall Source # | |||||
Defined in WebDriverPreCore.BiDi.WebExtensions Associated Types
Methods from :: WebExtensionUninstall -> Rep WebExtensionUninstall x # to :: Rep WebExtensionUninstall x -> WebExtensionUninstall # | |||||
| Show WebExtensionUninstall Source # | |||||
Defined in WebDriverPreCore.BiDi.WebExtensions Methods showsPrec :: Int -> WebExtensionUninstall -> ShowS # show :: WebExtensionUninstall -> String # showList :: [WebExtensionUninstall] -> ShowS # | |||||
| Eq WebExtensionUninstall Source # | |||||
Defined in WebDriverPreCore.BiDi.WebExtensions Methods (==) :: WebExtensionUninstall -> WebExtensionUninstall -> Bool # (/=) :: WebExtensionUninstall -> WebExtensionUninstall -> Bool # | |||||
| type Rep WebExtensionUninstall Source # | |||||
Defined in WebDriverPreCore.BiDi.WebExtensions type Rep WebExtensionUninstall = D1 ('MetaData "WebExtensionUninstall" "WebDriverPreCore.BiDi.WebExtensions" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkWebExtensionUninstall" 'PrefixI 'True) (S1 ('MetaSel ('Just "extension") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 WebExtensionID))) | |||||
newtype WebExtensionID Source #
Constructors
| MkWebExtensionID Text |
Instances
| FromJSON WebExtensionID Source # | |
Defined in WebDriverPreCore.BiDi.WebExtensions Methods parseJSON :: Value -> Parser WebExtensionID # parseJSONList :: Value -> Parser [WebExtensionID] # | |
| ToJSON WebExtensionID Source # | |
Defined in WebDriverPreCore.BiDi.WebExtensions Methods toJSON :: WebExtensionID -> Value # toEncoding :: WebExtensionID -> Encoding # toJSONList :: [WebExtensionID] -> Value # toEncodingList :: [WebExtensionID] -> Encoding # omitField :: WebExtensionID -> Bool # | |
| Show WebExtensionID Source # | |
Defined in WebDriverPreCore.BiDi.WebExtensions Methods showsPrec :: Int -> WebExtensionID -> ShowS # show :: WebExtensionID -> String # showList :: [WebExtensionID] -> ShowS # | |
| Eq WebExtensionID Source # | |
Defined in WebDriverPreCore.BiDi.WebExtensions Methods (==) :: WebExtensionID -> WebExtensionID -> Bool # (/=) :: WebExtensionID -> WebExtensionID -> Bool # | |
Network
Cookie information
Constructors
| MkCookie | |
Instances
| FromJSON Cookie Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| ToJSON Cookie Source # | |||||
| Generic Cookie Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show Cookie Source # | |||||
| Eq Cookie Source # | |||||
| type Rep Cookie Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep Cookie = D1 ('MetaData "Cookie" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkCookie" 'PrefixI 'True) (((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BytesValue)) :*: (S1 ('MetaSel ('Just "domain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Word) :*: S1 ('MetaSel ('Just "httpOnly") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "secure") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "sameSite") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SameSite) :*: S1 ('MetaSel ('Just "expiry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Word))))))) | |||||
data SetCookieHeader Source #
Partial cookie for setting
Constructors
| MkSetCookieHeader | |
Instances
| ToJSON SetCookieHeader Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods toJSON :: SetCookieHeader -> Value # toEncoding :: SetCookieHeader -> Encoding # toJSONList :: [SetCookieHeader] -> Value # toEncodingList :: [SetCookieHeader] -> Encoding # omitField :: SetCookieHeader -> Bool # | |||||
| Generic SetCookieHeader Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
Methods from :: SetCookieHeader -> Rep SetCookieHeader x # to :: Rep SetCookieHeader x -> SetCookieHeader # | |||||
| Show SetCookieHeader Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> SetCookieHeader -> ShowS # show :: SetCookieHeader -> String # showList :: [SetCookieHeader] -> ShowS # | |||||
| Eq SetCookieHeader Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: SetCookieHeader -> SetCookieHeader -> Bool # (/=) :: SetCookieHeader -> SetCookieHeader -> Bool # | |||||
| type Rep SetCookieHeader Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep SetCookieHeader = D1 ('MetaData "SetCookieHeader" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSetCookieHeader" 'PrefixI 'True) (((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BytesValue)) :*: (S1 ('MetaSel ('Just "domain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpOnly") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "expiry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxAge") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JSUInt))) :*: (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "secure") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "sameSite") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SameSite))))))) | |||||
newtype ResponseContent Source #
Response content information
Constructors
| MkResponseContent | |
Instances
| FromJSON ResponseContent Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods parseJSON :: Value -> Parser ResponseContent # parseJSONList :: Value -> Parser [ResponseContent] # | |||||
| Generic ResponseContent Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
Methods from :: ResponseContent -> Rep ResponseContent x # to :: Rep ResponseContent x -> ResponseContent # | |||||
| Show ResponseContent Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> ResponseContent -> ShowS # show :: ResponseContent -> String # showList :: [ResponseContent] -> ShowS # | |||||
| Eq ResponseContent Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: ResponseContent -> ResponseContent -> Bool # (/=) :: ResponseContent -> ResponseContent -> Bool # | |||||
| type Rep ResponseContent Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep ResponseContent = D1 ('MetaData "ResponseContent" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkResponseContent" 'PrefixI 'True) (S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 JSUInt))) | |||||
data AuthRequired Source #
AuthRequired parameters
Constructors
| MkAuthRequired | |
Fields
| |
Instances
| FromJSON AuthRequired Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| Generic AuthRequired Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show AuthRequired Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> AuthRequired -> ShowS # show :: AuthRequired -> String # showList :: [AuthRequired] -> ShowS # | |||||
| Eq AuthRequired Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| type Rep AuthRequired Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep AuthRequired = D1 ('MetaData "AuthRequired" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkAuthRequired" 'PrefixI 'True) (((S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BrowsingContext) :*: S1 ('MetaSel ('Just "isBlocked") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "navigation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Navigation)) :*: S1 ('MetaSel ('Just "redirectCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt))) :*: ((S1 ('MetaSel ('Just "request") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RequestData) :*: S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt)) :*: (S1 ('MetaSel ('Just "intercepts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Intercept])) :*: S1 ('MetaSel ('Just "response") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResponseData))))) | |||||
data BeforeRequestSent Source #
BeforeRequestSent parameters
Constructors
| MkBeforeRequestSent | |
Fields
| |
Instances
| FromJSON BeforeRequestSent Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods parseJSON :: Value -> Parser BeforeRequestSent # parseJSONList :: Value -> Parser [BeforeRequestSent] # | |||||
| Generic BeforeRequestSent Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
Methods from :: BeforeRequestSent -> Rep BeforeRequestSent x # to :: Rep BeforeRequestSent x -> BeforeRequestSent # | |||||
| Show BeforeRequestSent Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> BeforeRequestSent -> ShowS # show :: BeforeRequestSent -> String # showList :: [BeforeRequestSent] -> ShowS # | |||||
| Eq BeforeRequestSent Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: BeforeRequestSent -> BeforeRequestSent -> Bool # (/=) :: BeforeRequestSent -> BeforeRequestSent -> Bool # | |||||
| type Rep BeforeRequestSent Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep BeforeRequestSent = D1 ('MetaData "BeforeRequestSent" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkBeforeRequestSent" 'PrefixI 'True) (((S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BrowsingContext) :*: S1 ('MetaSel ('Just "isBlocked") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "navigation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Navigation)) :*: S1 ('MetaSel ('Just "redirectCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt))) :*: ((S1 ('MetaSel ('Just "request") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RequestData) :*: S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt)) :*: (S1 ('MetaSel ('Just "intercepts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Intercept])) :*: S1 ('MetaSel ('Just "beforeRequestInitiator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Initiator)))))) | |||||
data FetchError Source #
FetchError parameters
Constructors
| MkFetchError | |
Fields
| |
Instances
| FromJSON FetchError Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| Generic FetchError Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show FetchError Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> FetchError -> ShowS # show :: FetchError -> String # showList :: [FetchError] -> ShowS # | |||||
| Eq FetchError Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| type Rep FetchError Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep FetchError = D1 ('MetaData "FetchError" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkFetchError" 'PrefixI 'True) (((S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BrowsingContext) :*: S1 ('MetaSel ('Just "isBlocked") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "navigation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Navigation)) :*: S1 ('MetaSel ('Just "redirectCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt))) :*: ((S1 ('MetaSel ('Just "request") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RequestData) :*: S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt)) :*: (S1 ('MetaSel ('Just "intercepts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Intercept])) :*: S1 ('MetaSel ('Just "errorText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))) | |||||
data ResponseCompleted Source #
ResponseCompleted parameters
Constructors
| MkResponseCompleted | |
Fields
| |
Instances
| FromJSON ResponseCompleted Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods parseJSON :: Value -> Parser ResponseCompleted # parseJSONList :: Value -> Parser [ResponseCompleted] # | |||||
| Generic ResponseCompleted Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
Methods from :: ResponseCompleted -> Rep ResponseCompleted x # to :: Rep ResponseCompleted x -> ResponseCompleted # | |||||
| Show ResponseCompleted Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> ResponseCompleted -> ShowS # show :: ResponseCompleted -> String # showList :: [ResponseCompleted] -> ShowS # | |||||
| Eq ResponseCompleted Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: ResponseCompleted -> ResponseCompleted -> Bool # (/=) :: ResponseCompleted -> ResponseCompleted -> Bool # | |||||
| type Rep ResponseCompleted Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep ResponseCompleted = D1 ('MetaData "ResponseCompleted" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkResponseCompleted" 'PrefixI 'True) (((S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BrowsingContext) :*: S1 ('MetaSel ('Just "isBlocked") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "navigation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Navigation)) :*: S1 ('MetaSel ('Just "redirectCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt))) :*: ((S1 ('MetaSel ('Just "request") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RequestData) :*: S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt)) :*: (S1 ('MetaSel ('Just "intercepts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Intercept])) :*: S1 ('MetaSel ('Just "response") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResponseData))))) | |||||
data ResponseStarted Source #
ResponseStarted parameters
Constructors
| MkResponseStarted | |
Fields
| |
Instances
| FromJSON ResponseStarted Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods parseJSON :: Value -> Parser ResponseStarted # parseJSONList :: Value -> Parser [ResponseStarted] # | |||||
| Generic ResponseStarted Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
Methods from :: ResponseStarted -> Rep ResponseStarted x # to :: Rep ResponseStarted x -> ResponseStarted # | |||||
| Show ResponseStarted Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> ResponseStarted -> ShowS # show :: ResponseStarted -> String # showList :: [ResponseStarted] -> ShowS # | |||||
| Eq ResponseStarted Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: ResponseStarted -> ResponseStarted -> Bool # (/=) :: ResponseStarted -> ResponseStarted -> Bool # | |||||
| type Rep ResponseStarted Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep ResponseStarted = D1 ('MetaData "ResponseStarted" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkResponseStarted" 'PrefixI 'True) (((S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BrowsingContext) :*: S1 ('MetaSel ('Just "isBlocked") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "navigation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Navigation)) :*: S1 ('MetaSel ('Just "redirectCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt))) :*: ((S1 ('MetaSel ('Just "request") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RequestData) :*: S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt)) :*: (S1 ('MetaSel ('Just "intercepts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Intercept])) :*: S1 ('MetaSel ('Just "response") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResponseData))))) | |||||
Constructors
| Strict | |
| Lax | |
| SameSiteNone | |
| Default |
Instances
| FromJSON SameSite Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| ToJSON SameSite Source # | |||||
| Generic SameSite Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show SameSite Source # | |||||
| Eq SameSite Source # | |||||
| type Rep SameSite Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep SameSite = D1 ('MetaData "SameSite" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) ((C1 ('MetaCons "Strict" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Lax" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SameSiteNone" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Default" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
data AuthChallenge Source #
Constructors
| MkAuthChallenge | |
Instances
| FromJSON AuthChallenge Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods parseJSON :: Value -> Parser AuthChallenge # parseJSONList :: Value -> Parser [AuthChallenge] # | |||||
| Generic AuthChallenge Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show AuthChallenge Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> AuthChallenge -> ShowS # show :: AuthChallenge -> String # showList :: [AuthChallenge] -> ShowS # | |||||
| Eq AuthChallenge Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: AuthChallenge -> AuthChallenge -> Bool # (/=) :: AuthChallenge -> AuthChallenge -> Bool # | |||||
| type Rep AuthChallenge Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep AuthChallenge = D1 ('MetaData "AuthChallenge" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkAuthChallenge" 'PrefixI 'True) (S1 ('MetaSel ('Just "scheme") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "realm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |||||
data InitiatorType Source #
Information about what initiated a request
Constructors
| Audio | |
| Beacon | |
| Body | |
| CSSInitiatorType | |
| EarlyHints | |
| Embed | |
| Fetch | |
| Font | |
| Frame | |
| IFrame | |
| Image | |
| Img | |
| Input | |
| Link | |
| ObjectElement | |
| Ping | |
| Script | |
| Track | |
| Video | |
| XMLHttpRequest | |
| Other |
Instances
| FromJSON InitiatorType Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods parseJSON :: Value -> Parser InitiatorType # parseJSONList :: Value -> Parser [InitiatorType] # | |||||
| Generic InitiatorType Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show InitiatorType Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> InitiatorType -> ShowS # show :: InitiatorType -> String # showList :: [InitiatorType] -> ShowS # | |||||
| Eq InitiatorType Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: InitiatorType -> InitiatorType -> Bool # (/=) :: InitiatorType -> InitiatorType -> Bool # | |||||
| type Rep InitiatorType Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep InitiatorType = D1 ('MetaData "InitiatorType" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) ((((C1 ('MetaCons "Audio" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Beacon" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Body" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CSSInitiatorType" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EarlyHints" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "Embed" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Fetch" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Font" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Frame" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IFrame" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "Image" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Img" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Input" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Link" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ObjectElement" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "Ping" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Script" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Track" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "Video" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "XMLHttpRequest" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Other" 'PrefixI 'False) (U1 :: Type -> Type)))))) | |||||
data AddDataCollector Source #
Constructors
| MkAddDataCollector | |
Fields
| |
Instances
| ToJSON AddDataCollector Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods toJSON :: AddDataCollector -> Value # toEncoding :: AddDataCollector -> Encoding # toJSONList :: [AddDataCollector] -> Value # toEncodingList :: [AddDataCollector] -> Encoding # omitField :: AddDataCollector -> Bool # | |||||
| Generic AddDataCollector Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
Methods from :: AddDataCollector -> Rep AddDataCollector x # to :: Rep AddDataCollector x -> AddDataCollector # | |||||
| Show AddDataCollector Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> AddDataCollector -> ShowS # show :: AddDataCollector -> String # showList :: [AddDataCollector] -> ShowS # | |||||
| Eq AddDataCollector Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: AddDataCollector -> AddDataCollector -> Bool # (/=) :: AddDataCollector -> AddDataCollector -> Bool # | |||||
| type Rep AddDataCollector Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep AddDataCollector = D1 ('MetaData "AddDataCollector" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkAddDataCollector" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dataTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [DataType]) :*: S1 ('MetaSel ('Just "maxEncodedDataSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt)) :*: (S1 ('MetaSel ('Just "collectorType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CollectorType)) :*: (S1 ('MetaSel ('Just "contexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BrowsingContext])) :*: S1 ('MetaSel ('Just "userContexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserContext])))))) | |||||
newtype AddDataCollectorResult Source #
Constructors
| MkAddDataCollectorResult | |
Instances
| FromJSON AddDataCollectorResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods parseJSON :: Value -> Parser AddDataCollectorResult # parseJSONList :: Value -> Parser [AddDataCollectorResult] # | |||||
| Generic AddDataCollectorResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
Methods from :: AddDataCollectorResult -> Rep AddDataCollectorResult x # to :: Rep AddDataCollectorResult x -> AddDataCollectorResult # | |||||
| Show AddDataCollectorResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> AddDataCollectorResult -> ShowS # show :: AddDataCollectorResult -> String # showList :: [AddDataCollectorResult] -> ShowS # | |||||
| Eq AddDataCollectorResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: AddDataCollectorResult -> AddDataCollectorResult -> Bool # (/=) :: AddDataCollectorResult -> AddDataCollectorResult -> Bool # | |||||
| type Rep AddDataCollectorResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep AddDataCollectorResult = D1 ('MetaData "AddDataCollectorResult" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkAddDataCollectorResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "collector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Collector))) | |||||
data AddIntercept Source #
AddIntercept parameters
Constructors
| MkAddIntercept | |
Fields
| |
Instances
| ToJSON AddIntercept Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods toJSON :: AddIntercept -> Value # toEncoding :: AddIntercept -> Encoding # toJSONList :: [AddIntercept] -> Value # toEncodingList :: [AddIntercept] -> Encoding # omitField :: AddIntercept -> Bool # | |||||
| Generic AddIntercept Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show AddIntercept Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> AddIntercept -> ShowS # show :: AddIntercept -> String # showList :: [AddIntercept] -> ShowS # | |||||
| Eq AddIntercept Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| type Rep AddIntercept Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep AddIntercept = D1 ('MetaData "AddIntercept" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkAddIntercept" 'PrefixI 'True) (S1 ('MetaSel ('Just "phases") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [InterceptPhase]) :*: (S1 ('MetaSel ('Just "contexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BrowsingContext])) :*: S1 ('MetaSel ('Just "urlPatterns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UrlPattern]))))) | |||||
newtype AddInterceptResult Source #
Constructors
| MkAddInterceptResult | |
Fields | |
Instances
| FromJSON AddInterceptResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods parseJSON :: Value -> Parser AddInterceptResult # parseJSONList :: Value -> Parser [AddInterceptResult] # | |||||
| Generic AddInterceptResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
Methods from :: AddInterceptResult -> Rep AddInterceptResult x # to :: Rep AddInterceptResult x -> AddInterceptResult # | |||||
| Show AddInterceptResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> AddInterceptResult -> ShowS # show :: AddInterceptResult -> String # showList :: [AddInterceptResult] -> ShowS # | |||||
| Eq AddInterceptResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: AddInterceptResult -> AddInterceptResult -> Bool # (/=) :: AddInterceptResult -> AddInterceptResult -> Bool # | |||||
| type Rep AddInterceptResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep AddInterceptResult = D1 ('MetaData "AddInterceptResult" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkAddInterceptResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "addedIntercept") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Intercept))) | |||||
data InterceptPhase Source #
Intercept phases for network requests
Constructors
| BeforeRequestSent | |
| ResponseStarted | |
| AuthRequired |
Instances
| FromJSON InterceptPhase Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods parseJSON :: Value -> Parser InterceptPhase # parseJSONList :: Value -> Parser [InterceptPhase] # | |||||
| ToJSON InterceptPhase Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods toJSON :: InterceptPhase -> Value # toEncoding :: InterceptPhase -> Encoding # toJSONList :: [InterceptPhase] -> Value # toEncodingList :: [InterceptPhase] -> Encoding # omitField :: InterceptPhase -> Bool # | |||||
| Generic InterceptPhase Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
Methods from :: InterceptPhase -> Rep InterceptPhase x # to :: Rep InterceptPhase x -> InterceptPhase # | |||||
| Show InterceptPhase Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> InterceptPhase -> ShowS # show :: InterceptPhase -> String # showList :: [InterceptPhase] -> ShowS # | |||||
| Eq InterceptPhase Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: InterceptPhase -> InterceptPhase -> Bool # (/=) :: InterceptPhase -> InterceptPhase -> Bool # | |||||
| type Rep InterceptPhase Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep InterceptPhase = D1 ('MetaData "InterceptPhase" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "BeforeRequestSent" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ResponseStarted" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AuthRequired" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
data ContinueRequest Source #
ContinueRequest parameters
Constructors
| MkContinueRequest | |
Instances
| ToJSON ContinueRequest Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods toJSON :: ContinueRequest -> Value # toEncoding :: ContinueRequest -> Encoding # toJSONList :: [ContinueRequest] -> Value # toEncodingList :: [ContinueRequest] -> Encoding # omitField :: ContinueRequest -> Bool # | |||||
| Generic ContinueRequest Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
Methods from :: ContinueRequest -> Rep ContinueRequest x # to :: Rep ContinueRequest x -> ContinueRequest # | |||||
| Show ContinueRequest Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> ContinueRequest -> ShowS # show :: ContinueRequest -> String # showList :: [ContinueRequest] -> ShowS # | |||||
| Eq ContinueRequest Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: ContinueRequest -> ContinueRequest -> Bool # (/=) :: ContinueRequest -> ContinueRequest -> Bool # | |||||
| type Rep ContinueRequest Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep ContinueRequest = D1 ('MetaData "ContinueRequest" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkContinueRequest" 'PrefixI 'True) ((S1 ('MetaSel ('Just "request") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Request) :*: (S1 ('MetaSel ('Just "body") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BytesValue)) :*: S1 ('MetaSel ('Just "cookies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CookieHeader])))) :*: (S1 ('MetaSel ('Just "headers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Header])) :*: (S1 ('MetaSel ('Just "method") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe URL)))))) | |||||
data ContinueResponse Source #
ContinueResponse parameters
Constructors
| MkContinueResponse | |
Fields
| |
Instances
| ToJSON ContinueResponse Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods toJSON :: ContinueResponse -> Value # toEncoding :: ContinueResponse -> Encoding # toJSONList :: [ContinueResponse] -> Value # toEncodingList :: [ContinueResponse] -> Encoding # omitField :: ContinueResponse -> Bool # | |||||
| Generic ContinueResponse Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
Methods from :: ContinueResponse -> Rep ContinueResponse x # to :: Rep ContinueResponse x -> ContinueResponse # | |||||
| Show ContinueResponse Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> ContinueResponse -> ShowS # show :: ContinueResponse -> String # showList :: [ContinueResponse] -> ShowS # | |||||
| Eq ContinueResponse Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: ContinueResponse -> ContinueResponse -> Bool # (/=) :: ContinueResponse -> ContinueResponse -> Bool # | |||||
| type Rep ContinueResponse Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep ContinueResponse = D1 ('MetaData "ContinueResponse" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkContinueResponse" 'PrefixI 'True) ((S1 ('MetaSel ('Just "request") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Request) :*: (S1 ('MetaSel ('Just "cookies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SetCookieHeader])) :*: S1 ('MetaSel ('Just "credentials") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AuthCredentials)))) :*: (S1 ('MetaSel ('Just "headers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Header])) :*: (S1 ('MetaSel ('Just "reasonPhrase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JSUInt)))))) | |||||
data ContinueWithAuth Source #
ContinueWithAuth parameters - using union type approach from spec
Constructors
| MkContinueWithAuth | |
Fields
| |
Instances
| ToJSON ContinueWithAuth Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods toJSON :: ContinueWithAuth -> Value # toEncoding :: ContinueWithAuth -> Encoding # toJSONList :: [ContinueWithAuth] -> Value # toEncodingList :: [ContinueWithAuth] -> Encoding # omitField :: ContinueWithAuth -> Bool # | |||||
| Generic ContinueWithAuth Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
Methods from :: ContinueWithAuth -> Rep ContinueWithAuth x # to :: Rep ContinueWithAuth x -> ContinueWithAuth # | |||||
| Show ContinueWithAuth Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> ContinueWithAuth -> ShowS # show :: ContinueWithAuth -> String # showList :: [ContinueWithAuth] -> ShowS # | |||||
| Eq ContinueWithAuth Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: ContinueWithAuth -> ContinueWithAuth -> Bool # (/=) :: ContinueWithAuth -> ContinueWithAuth -> Bool # | |||||
| type Rep ContinueWithAuth Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep ContinueWithAuth = D1 ('MetaData "ContinueWithAuth" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkContinueWithAuth" 'PrefixI 'True) (S1 ('MetaSel ('Just "request") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Request) :*: S1 ('MetaSel ('Just "authAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AuthAction))) | |||||
data DisownData Source #
Instances
| ToJSON DisownData Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods toJSON :: DisownData -> Value # toEncoding :: DisownData -> Encoding # toJSONList :: [DisownData] -> Value # toEncodingList :: [DisownData] -> Encoding # omitField :: DisownData -> Bool # | |||||
| Generic DisownData Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show DisownData Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> DisownData -> ShowS # show :: DisownData -> String # showList :: [DisownData] -> ShowS # | |||||
| Eq DisownData Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| type Rep DisownData Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep DisownData = D1 ('MetaData "DisownData" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkDisownData" 'PrefixI 'True) (S1 ('MetaSel ('Just "dataType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DataType) :*: (S1 ('MetaSel ('Just "collector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Collector) :*: S1 ('MetaSel ('Just "request") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Request)))) | |||||
data FailRequest Source #
FailRequest parameters
Constructors
| MkFailRequest | |
Instances
| ToJSON FailRequest Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods toJSON :: FailRequest -> Value # toEncoding :: FailRequest -> Encoding # toJSONList :: [FailRequest] -> Value # toEncodingList :: [FailRequest] -> Encoding # omitField :: FailRequest -> Bool # | |||||
| Generic FailRequest Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show FailRequest Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> FailRequest -> ShowS # show :: FailRequest -> String # showList :: [FailRequest] -> ShowS # | |||||
| Eq FailRequest Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| type Rep FailRequest Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep FailRequest = D1 ('MetaData "FailRequest" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkFailRequest" 'PrefixI 'True) (S1 ('MetaSel ('Just "request") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Request))) | |||||
data NetworkEvent Source #
Constructors
| AuthRequiredEvent AuthRequired | |
| BeforeRequestSentEvent BeforeRequestSent | |
| FetchError FetchError | |
| ResponseCompleted ResponseCompleted | |
| ResponseStartedEvent ResponseStarted |
Instances
| FromJSON NetworkEvent Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| Generic NetworkEvent Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show NetworkEvent Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> NetworkEvent -> ShowS # show :: NetworkEvent -> String # showList :: [NetworkEvent] -> ShowS # | |||||
| Eq NetworkEvent Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| type Rep NetworkEvent Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep NetworkEvent = D1 ('MetaData "NetworkEvent" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) ((C1 ('MetaCons "AuthRequiredEvent" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AuthRequired)) :+: C1 ('MetaCons "BeforeRequestSentEvent" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BeforeRequestSent))) :+: (C1 ('MetaCons "FetchError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FetchError)) :+: (C1 ('MetaCons "ResponseCompleted" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResponseCompleted)) :+: C1 ('MetaCons "ResponseStartedEvent" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResponseStarted))))) | |||||
Constructors
| MkGetData | |
Instances
| ToJSON GetData Source # | |||||
| Generic GetData Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show GetData Source # | |||||
| Eq GetData Source # | |||||
| type Rep GetData Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep GetData = D1 ('MetaData "GetData" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkGetData" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dataType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DataType) :*: S1 ('MetaSel ('Just "collector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Collector))) :*: (S1 ('MetaSel ('Just "disown") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "request") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Request)))) | |||||
newtype GetDataResult Source #
Constructors
| MkGetDataResult | |
Fields
| |
Instances
| FromJSON GetDataResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods parseJSON :: Value -> Parser GetDataResult # parseJSONList :: Value -> Parser [GetDataResult] # | |||||
| Generic GetDataResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show GetDataResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> GetDataResult -> ShowS # show :: GetDataResult -> String # showList :: [GetDataResult] -> ShowS # | |||||
| Eq GetDataResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: GetDataResult -> GetDataResult -> Bool # (/=) :: GetDataResult -> GetDataResult -> Bool # | |||||
| type Rep GetDataResult Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep GetDataResult = D1 ('MetaData "GetDataResult" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkGetDataResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "bytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BytesValue))) | |||||
data ProvideResponse Source #
ProvideResponse parameters
Constructors
| MkProvideResponse | |
Instances
| ToJSON ProvideResponse Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods toJSON :: ProvideResponse -> Value # toEncoding :: ProvideResponse -> Encoding # toJSONList :: [ProvideResponse] -> Value # toEncodingList :: [ProvideResponse] -> Encoding # omitField :: ProvideResponse -> Bool # | |||||
| Generic ProvideResponse Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
Methods from :: ProvideResponse -> Rep ProvideResponse x # to :: Rep ProvideResponse x -> ProvideResponse # | |||||
| Show ProvideResponse Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> ProvideResponse -> ShowS # show :: ProvideResponse -> String # showList :: [ProvideResponse] -> ShowS # | |||||
| Eq ProvideResponse Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: ProvideResponse -> ProvideResponse -> Bool # (/=) :: ProvideResponse -> ProvideResponse -> Bool # | |||||
| type Rep ProvideResponse Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep ProvideResponse = D1 ('MetaData "ProvideResponse" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkProvideResponse" 'PrefixI 'True) ((S1 ('MetaSel ('Just "request") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Request) :*: (S1 ('MetaSel ('Just "intercept") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Intercept) :*: S1 ('MetaSel ('Just "body") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BytesValue)))) :*: ((S1 ('MetaSel ('Just "cookies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Cookie])) :*: S1 ('MetaSel ('Just "headers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Header]))) :*: (S1 ('MetaSel ('Just "reasonPhrase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Word))))) | |||||
data RemoveDataCollector Source #
Constructors
| MkRemoveDataCollector | |
Instances
| ToJSON RemoveDataCollector Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods toJSON :: RemoveDataCollector -> Value # toEncoding :: RemoveDataCollector -> Encoding # toJSONList :: [RemoveDataCollector] -> Value # toEncodingList :: [RemoveDataCollector] -> Encoding # omitField :: RemoveDataCollector -> Bool # | |||||
| Generic RemoveDataCollector Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
Methods from :: RemoveDataCollector -> Rep RemoveDataCollector x # to :: Rep RemoveDataCollector x -> RemoveDataCollector # | |||||
| Show RemoveDataCollector Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> RemoveDataCollector -> ShowS # show :: RemoveDataCollector -> String # showList :: [RemoveDataCollector] -> ShowS # | |||||
| Eq RemoveDataCollector Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: RemoveDataCollector -> RemoveDataCollector -> Bool # (/=) :: RemoveDataCollector -> RemoveDataCollector -> Bool # | |||||
| type Rep RemoveDataCollector Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep RemoveDataCollector = D1 ('MetaData "RemoveDataCollector" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkRemoveDataCollector" 'PrefixI 'True) (S1 ('MetaSel ('Just "collector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Collector))) | |||||
newtype RemoveIntercept Source #
RemoveIntercept parameters
Constructors
| MkRemoveIntercept | |
Instances
| ToJSON RemoveIntercept Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods toJSON :: RemoveIntercept -> Value # toEncoding :: RemoveIntercept -> Encoding # toJSONList :: [RemoveIntercept] -> Value # toEncodingList :: [RemoveIntercept] -> Encoding # omitField :: RemoveIntercept -> Bool # | |||||
| Generic RemoveIntercept Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
Methods from :: RemoveIntercept -> Rep RemoveIntercept x # to :: Rep RemoveIntercept x -> RemoveIntercept # | |||||
| Show RemoveIntercept Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> RemoveIntercept -> ShowS # show :: RemoveIntercept -> String # showList :: [RemoveIntercept] -> ShowS # | |||||
| Eq RemoveIntercept Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: RemoveIntercept -> RemoveIntercept -> Bool # (/=) :: RemoveIntercept -> RemoveIntercept -> Bool # | |||||
| type Rep RemoveIntercept Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep RemoveIntercept = D1 ('MetaData "RemoveIntercept" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkRemoveIntercept" 'PrefixI 'True) (S1 ('MetaSel ('Just "intercept") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Intercept))) | |||||
data SetCacheBehavior Source #
SetCacheBehavior parameters
Constructors
| MkSetCacheBehavior | |
Fields | |
Instances
| ToJSON SetCacheBehavior Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods toJSON :: SetCacheBehavior -> Value # toEncoding :: SetCacheBehavior -> Encoding # toJSONList :: [SetCacheBehavior] -> Value # toEncodingList :: [SetCacheBehavior] -> Encoding # omitField :: SetCacheBehavior -> Bool # | |||||
| Generic SetCacheBehavior Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
Methods from :: SetCacheBehavior -> Rep SetCacheBehavior x # to :: Rep SetCacheBehavior x -> SetCacheBehavior # | |||||
| Show SetCacheBehavior Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> SetCacheBehavior -> ShowS # show :: SetCacheBehavior -> String # showList :: [SetCacheBehavior] -> ShowS # | |||||
| Eq SetCacheBehavior Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: SetCacheBehavior -> SetCacheBehavior -> Bool # (/=) :: SetCacheBehavior -> SetCacheBehavior -> Bool # | |||||
| type Rep SetCacheBehavior Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep SetCacheBehavior = D1 ('MetaData "SetCacheBehavior" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSetCacheBehavior" 'PrefixI 'True) (S1 ('MetaSel ('Just "cacheBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CacheBehavior) :*: S1 ('MetaSel ('Just "contexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BrowsingContext])))) | |||||
data SetExtraHeaders Source #
SetExtraHeaders parameters
Constructors
| MkSetExtraHeaders | |
Fields
| |
Instances
| ToJSON SetExtraHeaders Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods toJSON :: SetExtraHeaders -> Value # toEncoding :: SetExtraHeaders -> Encoding # toJSONList :: [SetExtraHeaders] -> Value # toEncodingList :: [SetExtraHeaders] -> Encoding # omitField :: SetExtraHeaders -> Bool # | |||||
| Generic SetExtraHeaders Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
Methods from :: SetExtraHeaders -> Rep SetExtraHeaders x # to :: Rep SetExtraHeaders x -> SetExtraHeaders # | |||||
| Show SetExtraHeaders Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> SetExtraHeaders -> ShowS # show :: SetExtraHeaders -> String # showList :: [SetExtraHeaders] -> ShowS # | |||||
| Eq SetExtraHeaders Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: SetExtraHeaders -> SetExtraHeaders -> Bool # (/=) :: SetExtraHeaders -> SetExtraHeaders -> Bool # | |||||
| type Rep SetExtraHeaders Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep SetExtraHeaders = D1 ('MetaData "SetExtraHeaders" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkSetExtraHeaders" 'PrefixI 'True) (S1 ('MetaSel ('Just "headers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Header]) :*: (S1 ('MetaSel ('Just "contexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BrowsingContext])) :*: S1 ('MetaSel ('Just "userContexts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserContext]))))) | |||||
data UrlPattern Source #
Instances
| ToJSON UrlPattern Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods toJSON :: UrlPattern -> Value # toEncoding :: UrlPattern -> Encoding # toJSONList :: [UrlPattern] -> Value # toEncodingList :: [UrlPattern] -> Encoding # omitField :: UrlPattern -> Bool # | |||||
| Generic UrlPattern Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show UrlPattern Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> UrlPattern -> ShowS # show :: UrlPattern -> String # showList :: [UrlPattern] -> ShowS # | |||||
| Eq UrlPattern Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| type Rep UrlPattern Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep UrlPattern = D1 ('MetaData "UrlPattern" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "UrlPatternPattern" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UrlPatternPattern)) :+: C1 ('MetaCons "UrlPatternString" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UrlPatternString))) | |||||
data UrlPatternPattern Source #
URL pattern for interception
Constructors
| MkUrlPatternPattern | |
Instances
| ToJSON UrlPatternPattern Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods toJSON :: UrlPatternPattern -> Value # toEncoding :: UrlPatternPattern -> Encoding # toJSONList :: [UrlPatternPattern] -> Value # toEncodingList :: [UrlPatternPattern] -> Encoding # omitField :: UrlPatternPattern -> Bool # | |||||
| Generic UrlPatternPattern Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
Methods from :: UrlPatternPattern -> Rep UrlPatternPattern x # to :: Rep UrlPatternPattern x -> UrlPatternPattern # | |||||
| Show UrlPatternPattern Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> UrlPatternPattern -> ShowS # show :: UrlPatternPattern -> String # showList :: [UrlPatternPattern] -> ShowS # | |||||
| Eq UrlPatternPattern Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: UrlPatternPattern -> UrlPatternPattern -> Bool # (/=) :: UrlPatternPattern -> UrlPatternPattern -> Bool # | |||||
| type Rep UrlPatternPattern Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep UrlPatternPattern = D1 ('MetaData "UrlPatternPattern" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkUrlPatternPattern" 'PrefixI 'True) ((S1 ('MetaSel ('Just "protocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "hostname") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "port") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "pathname") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "search") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) | |||||
newtype UrlPatternString Source #
Constructors
| MkUrlPatternString | |
Fields | |
Instances
| ToJSON UrlPatternString Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods toJSON :: UrlPatternString -> Value # toEncoding :: UrlPatternString -> Encoding # toJSONList :: [UrlPatternString] -> Value # toEncodingList :: [UrlPatternString] -> Encoding # omitField :: UrlPatternString -> Bool # | |||||
| Generic UrlPatternString Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
Methods from :: UrlPatternString -> Rep UrlPatternString x # to :: Rep UrlPatternString x -> UrlPatternString # | |||||
| Show UrlPatternString Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> UrlPatternString -> ShowS # show :: UrlPatternString -> String # showList :: [UrlPatternString] -> ShowS # | |||||
| Eq UrlPatternString Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: UrlPatternString -> UrlPatternString -> Bool # (/=) :: UrlPatternString -> UrlPatternString -> Bool # | |||||
| type Rep UrlPatternString Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep UrlPatternString = D1 ('MetaData "UrlPatternString" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkUrlPatternString" 'PrefixI 'True) (S1 ('MetaSel ('Just "patternString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |||||
data BytesValue Source #
BytesValue can be either string or base64-encoded
Constructors
| TextBytesValue StringValue | |
| Base64Value Text |
Instances
| FromJSON BytesValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| ToJSON BytesValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods toJSON :: BytesValue -> Value # toEncoding :: BytesValue -> Encoding # toJSONList :: [BytesValue] -> Value # toEncodingList :: [BytesValue] -> Encoding # omitField :: BytesValue -> Bool # | |||||
| Generic BytesValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show BytesValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> BytesValue -> ShowS # show :: BytesValue -> String # showList :: [BytesValue] -> ShowS # | |||||
| Eq BytesValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| type Rep BytesValue Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep BytesValue = D1 ('MetaData "BytesValue" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "TextBytesValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StringValue)) :+: C1 ('MetaCons "Base64Value" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |||||
Headers for requests and responses
Constructors
| MkHeader | |
Fields
| |
Instances
| FromJSON Header Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| ToJSON Header Source # | |||||
| Generic Header Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show Header Source # | |||||
| Eq Header Source # | |||||
| type Rep Header Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep Header = D1 ('MetaData "Header" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkHeader" 'PrefixI 'True) (S1 ('MetaSel ('Just "headerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "headerValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BytesValue))) | |||||
data CookieHeader Source #
Constructors
| MkCookieHeader | |
Fields | |
Instances
| FromJSON CookieHeader Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| ToJSON CookieHeader Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods toJSON :: CookieHeader -> Value # toEncoding :: CookieHeader -> Encoding # toJSONList :: [CookieHeader] -> Value # toEncodingList :: [CookieHeader] -> Encoding # omitField :: CookieHeader -> Bool # | |||||
| Generic CookieHeader Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show CookieHeader Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> CookieHeader -> ShowS # show :: CookieHeader -> String # showList :: [CookieHeader] -> ShowS # | |||||
| Eq CookieHeader Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| type Rep CookieHeader Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep CookieHeader = D1 ('MetaData "CookieHeader" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkCookieHeader" 'PrefixI 'True) (S1 ('MetaSel ('Just "cookieHeaderName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "cookieHeaderValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BytesValue))) | |||||
Network intercept identifier
Constructors
| MkIntercept Text |
Instances
| FromJSON Intercept Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| ToJSON Intercept Source # | |||||
| Generic Intercept Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show Intercept Source # | |||||
| Eq Intercept Source # | |||||
| type Rep Intercept Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
data AuthCredentials Source #
Auth credentials for authentication
Constructors
| MkAuthCredentials | |
Instances
| ToJSON AuthCredentials Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods toJSON :: AuthCredentials -> Value # toEncoding :: AuthCredentials -> Encoding # toJSONList :: [AuthCredentials] -> Value # toEncodingList :: [AuthCredentials] -> Encoding # omitField :: AuthCredentials -> Bool # | |||||
| Generic AuthCredentials Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
Methods from :: AuthCredentials -> Rep AuthCredentials x # to :: Rep AuthCredentials x -> AuthCredentials # | |||||
| Show AuthCredentials Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> AuthCredentials -> ShowS # show :: AuthCredentials -> String # showList :: [AuthCredentials] -> ShowS # | |||||
| Eq AuthCredentials Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: AuthCredentials -> AuthCredentials -> Bool # (/=) :: AuthCredentials -> AuthCredentials -> Bool # | |||||
| type Rep AuthCredentials Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep AuthCredentials = D1 ('MetaData "AuthCredentials" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkAuthCredentials" 'PrefixI 'True) (S1 ('MetaSel ('Just "username") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "password") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |||||
data AuthAction Source #
Auth action - matches spec's union type structure
Constructors
| ProvideCredentials AuthCredentials | |
| DefaultAuth | |
| CancelAuth |
Instances
| ToJSON AuthAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods toJSON :: AuthAction -> Value # toEncoding :: AuthAction -> Encoding # toJSONList :: [AuthAction] -> Value # toEncodingList :: [AuthAction] -> Encoding # omitField :: AuthAction -> Bool # | |||||
| Generic AuthAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show AuthAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> AuthAction -> ShowS # show :: AuthAction -> String # showList :: [AuthAction] -> ShowS # | |||||
| Eq AuthAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| type Rep AuthAction Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep AuthAction = D1 ('MetaData "AuthAction" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "ProvideCredentials" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AuthCredentials)) :+: (C1 ('MetaCons "DefaultAuth" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CancelAuth" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
data CacheBehavior Source #
Cache behavior options
Constructors
| DefaultCacheBehavior | |
| BypassCache |
Instances
| ToJSON CacheBehavior Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods toJSON :: CacheBehavior -> Value # toEncoding :: CacheBehavior -> Encoding # toJSONList :: [CacheBehavior] -> Value # toEncodingList :: [CacheBehavior] -> Encoding # omitField :: CacheBehavior -> Bool # | |||||
| Generic CacheBehavior Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show CacheBehavior Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> CacheBehavior -> ShowS # show :: CacheBehavior -> String # showList :: [CacheBehavior] -> ShowS # | |||||
| Eq CacheBehavior Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: CacheBehavior -> CacheBehavior -> Bool # (/=) :: CacheBehavior -> CacheBehavior -> Bool # | |||||
| type Rep CacheBehavior Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
newtype CollectorType Source #
Constructors
| MkCollectorType | |
Fields | |
Instances
| FromJSON CollectorType Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods parseJSON :: Value -> Parser CollectorType # parseJSONList :: Value -> Parser [CollectorType] # | |||||
| ToJSON CollectorType Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods toJSON :: CollectorType -> Value # toEncoding :: CollectorType -> Encoding # toJSONList :: [CollectorType] -> Value # toEncodingList :: [CollectorType] -> Encoding # omitField :: CollectorType -> Bool # | |||||
| Generic CollectorType Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show CollectorType Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> CollectorType -> ShowS # show :: CollectorType -> String # showList :: [CollectorType] -> ShowS # | |||||
| Eq CollectorType Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: CollectorType -> CollectorType -> Bool # (/=) :: CollectorType -> CollectorType -> Bool # | |||||
| type Rep CollectorType Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep CollectorType = D1 ('MetaData "CollectorType" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkCollectorType" 'PrefixI 'True) (S1 ('MetaSel ('Just "collectorType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |||||
Constructors
| MkCollector | |
Instances
| FromJSON Collector Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| ToJSON Collector Source # | |||||
| Generic Collector Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show Collector Source # | |||||
| Eq Collector Source # | |||||
| type Rep Collector Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
Instances
| FromJSON Request Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| ToJSON Request Source # | |||||
| Generic Request Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show Request Source # | |||||
| Eq Request Source # | |||||
| type Rep Request Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
data RequestData Source #
Constructors
| MkRequestData | |
Fields
| |
Instances
| FromJSON RequestData Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| Generic RequestData Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show RequestData Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> RequestData -> ShowS # show :: RequestData -> String # showList :: [RequestData] -> ShowS # | |||||
| Eq RequestData Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| type Rep RequestData Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep RequestData = D1 ('MetaData "RequestData" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkRequestData" 'PrefixI 'True) (((S1 ('MetaSel ('Just "request") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Request) :*: S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "method") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HTTPMethod) :*: (S1 ('MetaSel ('Just "headers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Header]) :*: S1 ('MetaSel ('Just "cookies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CookieHeader]))))) :*: ((S1 ('MetaSel ('Just "headersSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt) :*: S1 ('MetaSel ('Just "bodySize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JSUInt))) :*: (S1 ('MetaSel ('Just "destination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "initiatorType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InitiatorType)) :*: S1 ('MetaSel ('Just "timings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FetchTimingInfo))))))) | |||||
data ResponseData Source #
Response data Note: responseStatus is Int (not Word/JSUInt) because Chrome sends -1 for authRequired events where the response hasn't been completed yet (deviation from spec which says js-uint)
Constructors
| MkResponseData | |
Fields
| |
Instances
| FromJSON ResponseData Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| Generic ResponseData Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show ResponseData Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> ResponseData -> ShowS # show :: ResponseData -> String # showList :: [ResponseData] -> ShowS # | |||||
| Eq ResponseData Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| type Rep ResponseData Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep ResponseData = D1 ('MetaData "ResponseData" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkResponseData" 'PrefixI 'True) (((S1 ('MetaSel ('Just "responseUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "responseProtocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "responseStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) :*: (S1 ('MetaSel ('Just "responseStatusText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "responseFromCache") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "responseHeaders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Header])))) :*: ((S1 ('MetaSel ('Just "responseMimeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "responseBytesReceived") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Word) :*: S1 ('MetaSel ('Just "responseHeadersSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Word)))) :*: (S1 ('MetaSel ('Just "responseBodySize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Word)) :*: (S1 ('MetaSel ('Just "responseContent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResponseContent) :*: S1 ('MetaSel ('Just "responseAuthChallenges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AuthChallenge]))))))) | |||||
Constructors
| MkInitiator | |
Instances
| FromJSON Initiator Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| Generic Initiator Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show Initiator Source # | |||||
| Eq Initiator Source # | |||||
| type Rep Initiator Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep Initiator = D1 ('MetaData "Initiator" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkInitiator" 'PrefixI 'True) ((S1 ('MetaSel ('Just "initiatorColumnNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Word)) :*: S1 ('MetaSel ('Just "initiatorLineNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Word))) :*: (S1 ('MetaSel ('Just "initiatorRequest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Request)) :*: (S1 ('MetaSel ('Just "initiatorStackTrace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StackTrace)) :*: S1 ('MetaSel ('Just "initiatorType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InitiatorType)))))) | |||||
data HTTPMethod Source #
Instances
| FromJSON HTTPMethod Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| Generic HTTPMethod Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
| |||||
| Show HTTPMethod Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> HTTPMethod -> ShowS # show :: HTTPMethod -> String # showList :: [HTTPMethod] -> ShowS # | |||||
| Eq HTTPMethod Source # | |||||
Defined in WebDriverPreCore.BiDi.Network | |||||
| type Rep HTTPMethod Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep HTTPMethod = D1 ('MetaData "HTTPMethod" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (((C1 ('MetaCons "GET" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "POST" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PUT" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DELETE" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "HEAD" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OPTIONS" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PATCH" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TRACE" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CONNECT" 'PrefixI 'False) (U1 :: Type -> Type))))) | |||||
data FetchTimingInfo Source #
Constructors
| MkFetchTimingInfo | |
Fields
| |
Instances
| FromJSON FetchTimingInfo Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods parseJSON :: Value -> Parser FetchTimingInfo # parseJSONList :: Value -> Parser [FetchTimingInfo] # | |||||
| Generic FetchTimingInfo Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Associated Types
Methods from :: FetchTimingInfo -> Rep FetchTimingInfo x # to :: Rep FetchTimingInfo x -> FetchTimingInfo # | |||||
| Show FetchTimingInfo Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods showsPrec :: Int -> FetchTimingInfo -> ShowS # show :: FetchTimingInfo -> String # showList :: [FetchTimingInfo] -> ShowS # | |||||
| Eq FetchTimingInfo Source # | |||||
Defined in WebDriverPreCore.BiDi.Network Methods (==) :: FetchTimingInfo -> FetchTimingInfo -> Bool # (/=) :: FetchTimingInfo -> FetchTimingInfo -> Bool # | |||||
| type Rep FetchTimingInfo Source # | |||||
Defined in WebDriverPreCore.BiDi.Network type Rep FetchTimingInfo = D1 ('MetaData "FetchTimingInfo" "WebDriverPreCore.BiDi.Network" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkFetchTimingInfo" 'PrefixI 'True) (((S1 ('MetaSel ('Just "timeOrigin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double) :*: (S1 ('MetaSel ('Just "requestTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double) :*: S1 ('MetaSel ('Just "redirectStart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double))) :*: (S1 ('MetaSel ('Just "redirectEnd") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double) :*: (S1 ('MetaSel ('Just "fetchStart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double) :*: S1 ('MetaSel ('Just "dnsStart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double)))) :*: ((S1 ('MetaSel ('Just "dnsEnd") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double) :*: (S1 ('MetaSel ('Just "connectStart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double) :*: S1 ('MetaSel ('Just "connectEnd") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double))) :*: ((S1 ('MetaSel ('Just "tlsStart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double) :*: S1 ('MetaSel ('Just "requestStart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double)) :*: (S1 ('MetaSel ('Just "responseStart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double) :*: S1 ('MetaSel ('Just "responseEnd") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double)))))) | |||||
Core Types
data NodeRemoteValue Source #
Constructors
| MkNodeRemoteValue | |
Fields
| |
Instances
| FromJSON NodeRemoteValue Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods parseJSON :: Value -> Parser NodeRemoteValue # parseJSONList :: Value -> Parser [NodeRemoteValue] # | |||||
| Generic NodeRemoteValue Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Associated Types
Methods from :: NodeRemoteValue -> Rep NodeRemoteValue x # to :: Rep NodeRemoteValue x -> NodeRemoteValue # | |||||
| Show NodeRemoteValue Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods showsPrec :: Int -> NodeRemoteValue -> ShowS # show :: NodeRemoteValue -> String # showList :: [NodeRemoteValue] -> ShowS # | |||||
| Eq NodeRemoteValue Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods (==) :: NodeRemoteValue -> NodeRemoteValue -> Bool # (/=) :: NodeRemoteValue -> NodeRemoteValue -> Bool # | |||||
| type Rep NodeRemoteValue Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes type Rep NodeRemoteValue = D1 ('MetaData "NodeRemoteValue" "WebDriverPreCore.BiDi.CoreTypes" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkNodeRemoteValue" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sharedId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SharedId)) :*: S1 ('MetaSel ('Just "handle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Handle))) :*: (S1 ('MetaSel ('Just "internalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InternalId)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NodeProperties))))) | |||||
newtype StringValue Source #
Constructors
| MkStringValue | |
Instances
| FromJSON StringValue Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes | |||||
| ToJSON StringValue Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods toJSON :: StringValue -> Value # toEncoding :: StringValue -> Encoding # toJSONList :: [StringValue] -> Value # toEncodingList :: [StringValue] -> Encoding # omitField :: StringValue -> Bool # | |||||
| Generic StringValue Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Associated Types
| |||||
| Show StringValue Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods showsPrec :: Int -> StringValue -> ShowS # show :: StringValue -> String # showList :: [StringValue] -> ShowS # | |||||
| Eq StringValue Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes | |||||
| type Rep StringValue Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes type Rep StringValue = D1 ('MetaData "StringValue" "WebDriverPreCore.BiDi.CoreTypes" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkStringValue" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |||||
data NodeProperties Source #
Constructors
| MkNodeProperties | |
Fields
| |
Instances
| FromJSON NodeProperties Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods parseJSON :: Value -> Parser NodeProperties # parseJSONList :: Value -> Parser [NodeProperties] # | |||||
| Generic NodeProperties Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Associated Types
Methods from :: NodeProperties -> Rep NodeProperties x # to :: Rep NodeProperties x -> NodeProperties # | |||||
| Show NodeProperties Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods showsPrec :: Int -> NodeProperties -> ShowS # show :: NodeProperties -> String # showList :: [NodeProperties] -> ShowS # | |||||
| Eq NodeProperties Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods (==) :: NodeProperties -> NodeProperties -> Bool # (/=) :: NodeProperties -> NodeProperties -> Bool # | |||||
| type Rep NodeProperties Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes type Rep NodeProperties = D1 ('MetaData "NodeProperties" "WebDriverPreCore.BiDi.CoreTypes" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "MkNodeProperties" 'PrefixI 'True) (((S1 ('MetaSel ('Just "nodeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt) :*: S1 ('MetaSel ('Just "childNodeCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JSUInt)) :*: (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Map Text Text))) :*: S1 ('MetaSel ('Just "children") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NodeRemoteValue])))) :*: ((S1 ('MetaSel ('Just "localName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "mode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "namespaceURI") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nodeValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "shadowRoot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NodeRemoteValue))))))) | |||||
newtype BrowsingContext Source #
Constructors
| MkBrowsingContext | |
Instances
| FromJSON BrowsingContext Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods parseJSON :: Value -> Parser BrowsingContext # parseJSONList :: Value -> Parser [BrowsingContext] # | |||||
| ToJSON BrowsingContext Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods toJSON :: BrowsingContext -> Value # toEncoding :: BrowsingContext -> Encoding # toJSONList :: [BrowsingContext] -> Value # toEncodingList :: [BrowsingContext] -> Encoding # omitField :: BrowsingContext -> Bool # | |||||
| Generic BrowsingContext Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Associated Types
Methods from :: BrowsingContext -> Rep BrowsingContext x # to :: Rep BrowsingContext x -> BrowsingContext # | |||||
| Show BrowsingContext Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods showsPrec :: Int -> BrowsingContext -> ShowS # show :: BrowsingContext -> String # showList :: [BrowsingContext] -> ShowS # | |||||
| Eq BrowsingContext Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods (==) :: BrowsingContext -> BrowsingContext -> Bool # (/=) :: BrowsingContext -> BrowsingContext -> Bool # | |||||
| type Rep BrowsingContext Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes type Rep BrowsingContext = D1 ('MetaData "BrowsingContext" "WebDriverPreCore.BiDi.CoreTypes" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkBrowsingContext" 'PrefixI 'True) (S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |||||
data KnownSubscriptionType Source #
Constructors
| BrowsingContextContextCreated | |
| BrowsingContextContextDestroyed | |
| BrowsingContextNavigationStarted | |
| BrowsingContextFragmentNavigated | |
| BrowsingContextHistoryUpdated | |
| BrowsingContextDomContentLoaded | |
| BrowsingContextLoad | |
| BrowsingContextDownloadWillBegin | |
| BrowsingContextDownloadEnd | |
| BrowsingContextNavigationAborted | |
| BrowsingContextNavigationCommitted | |
| BrowsingContextNavigationFailed | |
| BrowsingContextUserPromptClosed | |
| BrowsingContextUserPromptOpened | |
| LogEntryAdded | |
| NetworkAuthRequired | |
| NetworkBeforeRequestSent | |
| NetworkFetchError | |
| NetworkResponseCompleted | |
| NetworkResponseStarted | |
| ScriptMessage | |
| ScriptRealmCreated | |
| ScriptRealmDestroyed | |
| InputFileDialogOpened |
Instances
| FromJSON KnownSubscriptionType Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods parseJSON :: Value -> Parser KnownSubscriptionType # parseJSONList :: Value -> Parser [KnownSubscriptionType] # | |||||
| Bounded KnownSubscriptionType Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes | |||||
| Enum KnownSubscriptionType Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods succ :: KnownSubscriptionType -> KnownSubscriptionType # pred :: KnownSubscriptionType -> KnownSubscriptionType # toEnum :: Int -> KnownSubscriptionType # fromEnum :: KnownSubscriptionType -> Int # enumFrom :: KnownSubscriptionType -> [KnownSubscriptionType] # enumFromThen :: KnownSubscriptionType -> KnownSubscriptionType -> [KnownSubscriptionType] # enumFromTo :: KnownSubscriptionType -> KnownSubscriptionType -> [KnownSubscriptionType] # enumFromThenTo :: KnownSubscriptionType -> KnownSubscriptionType -> KnownSubscriptionType -> [KnownSubscriptionType] # | |||||
| Generic KnownSubscriptionType Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Associated Types
Methods from :: KnownSubscriptionType -> Rep KnownSubscriptionType x # to :: Rep KnownSubscriptionType x -> KnownSubscriptionType # | |||||
| Show KnownSubscriptionType Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods showsPrec :: Int -> KnownSubscriptionType -> ShowS # show :: KnownSubscriptionType -> String # showList :: [KnownSubscriptionType] -> ShowS # | |||||
| Eq KnownSubscriptionType Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods (==) :: KnownSubscriptionType -> KnownSubscriptionType -> Bool # (/=) :: KnownSubscriptionType -> KnownSubscriptionType -> Bool # | |||||
| type Rep KnownSubscriptionType Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes type Rep KnownSubscriptionType = D1 ('MetaData "KnownSubscriptionType" "WebDriverPreCore.BiDi.CoreTypes" "webdriver-precore-0.2.0.0-inplace" 'False) ((((C1 ('MetaCons "BrowsingContextContextCreated" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "BrowsingContextContextDestroyed" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BrowsingContextNavigationStarted" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "BrowsingContextFragmentNavigated" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "BrowsingContextHistoryUpdated" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BrowsingContextDomContentLoaded" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "BrowsingContextLoad" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "BrowsingContextDownloadWillBegin" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BrowsingContextDownloadEnd" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "BrowsingContextNavigationAborted" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "BrowsingContextNavigationCommitted" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BrowsingContextNavigationFailed" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "BrowsingContextUserPromptClosed" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "BrowsingContextUserPromptOpened" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LogEntryAdded" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "NetworkAuthRequired" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "NetworkBeforeRequestSent" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NetworkFetchError" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "NetworkResponseCompleted" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "NetworkResponseStarted" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ScriptMessage" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "ScriptRealmCreated" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ScriptRealmDestroyed" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InputFileDialogOpened" 'PrefixI 'False) (U1 :: Type -> Type)))))) | |||||
data SubscriptionType Source #
Constructors
| KnownSubscriptionType KnownSubscriptionType | |
| OffSpecSubscriptionType OffSpecSubscriptionType |
Instances
| FromJSON SubscriptionType Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods parseJSON :: Value -> Parser SubscriptionType # parseJSONList :: Value -> Parser [SubscriptionType] # | |||||
| ToJSON SubscriptionType Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods toJSON :: SubscriptionType -> Value # toEncoding :: SubscriptionType -> Encoding # toJSONList :: [SubscriptionType] -> Value # toEncodingList :: [SubscriptionType] -> Encoding # omitField :: SubscriptionType -> Bool # | |||||
| Generic SubscriptionType Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Associated Types
Methods from :: SubscriptionType -> Rep SubscriptionType x # to :: Rep SubscriptionType x -> SubscriptionType # | |||||
| Show SubscriptionType Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods showsPrec :: Int -> SubscriptionType -> ShowS # show :: SubscriptionType -> String # showList :: [SubscriptionType] -> ShowS # | |||||
| Eq SubscriptionType Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods (==) :: SubscriptionType -> SubscriptionType -> Bool # (/=) :: SubscriptionType -> SubscriptionType -> Bool # | |||||
| type Rep SubscriptionType Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes type Rep SubscriptionType = D1 ('MetaData "SubscriptionType" "WebDriverPreCore.BiDi.CoreTypes" "webdriver-precore-0.2.0.0-inplace" 'False) (C1 ('MetaCons "KnownSubscriptionType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 KnownSubscriptionType)) :+: C1 ('MetaCons "OffSpecSubscriptionType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OffSpecSubscriptionType))) | |||||
newtype OffSpecSubscriptionType Source #
Off-specification subscription type for driver-specific events.
This type should only be used as a fallback when a WebDriver implementation
supports subscribing to events that are not covered by this library's
KnownSubscriptionType. Use the standard subscription types whenever possible.
Constructors
| MkOffSpecSubscriptionType | |
Instances
| FromJSON OffSpecSubscriptionType Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods parseJSON :: Value -> Parser OffSpecSubscriptionType # parseJSONList :: Value -> Parser [OffSpecSubscriptionType] # | |||||
| ToJSON OffSpecSubscriptionType Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods toJSON :: OffSpecSubscriptionType -> Value # toEncoding :: OffSpecSubscriptionType -> Encoding # toJSONList :: [OffSpecSubscriptionType] -> Value # | |||||
| Generic OffSpecSubscriptionType Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Associated Types
Methods from :: OffSpecSubscriptionType -> Rep OffSpecSubscriptionType x # to :: Rep OffSpecSubscriptionType x -> OffSpecSubscriptionType # | |||||
| Show OffSpecSubscriptionType Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods showsPrec :: Int -> OffSpecSubscriptionType -> ShowS # show :: OffSpecSubscriptionType -> String # showList :: [OffSpecSubscriptionType] -> ShowS # | |||||
| Eq OffSpecSubscriptionType Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods (==) :: OffSpecSubscriptionType -> OffSpecSubscriptionType -> Bool # (/=) :: OffSpecSubscriptionType -> OffSpecSubscriptionType -> Bool # | |||||
| type Rep OffSpecSubscriptionType Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes type Rep OffSpecSubscriptionType = D1 ('MetaData "OffSpecSubscriptionType" "WebDriverPreCore.BiDi.CoreTypes" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkOffSpecSubscriptionType" 'PrefixI 'True) (S1 ('MetaSel ('Just "method") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |||||
newtype UserContext Source #
Constructors
| MkUserContext | |
Fields
| |
Instances
| FromJSON UserContext Source # | |
Defined in WebDriverPreCore.BiDi.CoreTypes | |
| ToJSON UserContext Source # | |
Defined in WebDriverPreCore.BiDi.CoreTypes Methods toJSON :: UserContext -> Value # toEncoding :: UserContext -> Encoding # toJSONList :: [UserContext] -> Value # toEncodingList :: [UserContext] -> Encoding # omitField :: UserContext -> Bool # | |
| Show UserContext Source # | |
Defined in WebDriverPreCore.BiDi.CoreTypes Methods showsPrec :: Int -> UserContext -> ShowS # show :: UserContext -> String # showList :: [UserContext] -> ShowS # | |
| Eq UserContext Source # | |
Defined in WebDriverPreCore.BiDi.CoreTypes | |
newtype ClientWindow Source #
Constructors
| MkClientWindow Text |
Instances
| FromJSON ClientWindow Source # | |
Defined in WebDriverPreCore.BiDi.CoreTypes | |
| ToJSON ClientWindow Source # | |
Defined in WebDriverPreCore.BiDi.CoreTypes Methods toJSON :: ClientWindow -> Value # toEncoding :: ClientWindow -> Encoding # toJSONList :: [ClientWindow] -> Value # toEncodingList :: [ClientWindow] -> Encoding # omitField :: ClientWindow -> Bool # | |
| Show ClientWindow Source # | |
Defined in WebDriverPreCore.BiDi.CoreTypes Methods showsPrec :: Int -> ClientWindow -> ShowS # show :: ClientWindow -> String # showList :: [ClientWindow] -> ShowS # | |
| Eq ClientWindow Source # | |
Defined in WebDriverPreCore.BiDi.CoreTypes | |
Core types for the WebDriver BiDi (Bidirectional) protocol.
newtype EmptyResult Source #
Constructors
| MkEmptyResult | |
Fields
| |
Instances
| FromJSON EmptyResult Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes | |||||
| ToJSON EmptyResult Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods toJSON :: EmptyResult -> Value # toEncoding :: EmptyResult -> Encoding # toJSONList :: [EmptyResult] -> Value # toEncodingList :: [EmptyResult] -> Encoding # omitField :: EmptyResult -> Bool # | |||||
| Generic EmptyResult Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Associated Types
| |||||
| Show EmptyResult Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes Methods showsPrec :: Int -> EmptyResult -> ShowS # show :: EmptyResult -> String # showList :: [EmptyResult] -> ShowS # | |||||
| Eq EmptyResult Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes | |||||
| type Rep EmptyResult Source # | |||||
Defined in WebDriverPreCore.BiDi.CoreTypes type Rep EmptyResult = D1 ('MetaData "EmptyResult" "WebDriverPreCore.BiDi.CoreTypes" "webdriver-precore-0.2.0.0-inplace" 'True) (C1 ('MetaCons "MkEmptyResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "extensible") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Object))) | |||||
newtype InternalId Source #
Constructors
| MkInternalId Text |
Instances
| FromJSON InternalId Source # | |
Defined in WebDriverPreCore.BiDi.CoreTypes | |
| Show InternalId Source # | |
Defined in WebDriverPreCore.BiDi.CoreTypes Methods showsPrec :: Int -> InternalId -> ShowS # show :: InternalId -> String # showList :: [InternalId] -> ShowS # | |
| Eq InternalId Source # | |
Defined in WebDriverPreCore.BiDi.CoreTypes | |
Error
data WebDriverException Source #
Constructors
| ResponseParseException | |
| UnrecognisedErrorTypeException | |
| JSONEncodeException JSONEncodeException | |
| ProtocolException | |
Instances
| Exception WebDriverException Source # | |||||
Defined in WebDriverPreCore.Error Methods toException :: WebDriverException -> SomeException # fromException :: SomeException -> Maybe WebDriverException # | |||||
| Generic WebDriverException Source # | |||||
Defined in WebDriverPreCore.Error Associated Types
Methods from :: WebDriverException -> Rep WebDriverException x # to :: Rep WebDriverException x -> WebDriverException # | |||||
| Show WebDriverException Source # | |||||
Defined in WebDriverPreCore.Error Methods showsPrec :: Int -> WebDriverException -> ShowS # show :: WebDriverException -> String # showList :: [WebDriverException] -> ShowS # | |||||
| Eq WebDriverException Source # | |||||
Defined in WebDriverPreCore.Error Methods (==) :: WebDriverException -> WebDriverException -> Bool # (/=) :: WebDriverException -> WebDriverException -> Bool # | |||||
| Ord WebDriverException Source # | |||||
Defined in WebDriverPreCore.Error Methods compare :: WebDriverException -> WebDriverException -> Ordering # (<) :: WebDriverException -> WebDriverException -> Bool # (<=) :: WebDriverException -> WebDriverException -> Bool # (>) :: WebDriverException -> WebDriverException -> Bool # (>=) :: WebDriverException -> WebDriverException -> Bool # max :: WebDriverException -> WebDriverException -> WebDriverException # min :: WebDriverException -> WebDriverException -> WebDriverException # | |||||
| type Rep WebDriverException Source # | |||||
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)))))) | |||||
Known WevDriver Error Types
Constructors
| ElementClickIntercepted | |
| ElementNotInteractable | |
| InsecureCertificate | |
| InvalidArgument | |
| InvalidCookieDomain | |
| InvalidElementState | |
| InvalidSelector | |
| InvalidSessionId | |
| JavascriptError | |
| MoveTargetOutOfBounds | |
| NoSuchAlert | |
| NoSuchCookie | |
| NoSuchElement | |
| NoSuchFrame | |
| NoSuchWindow | |
| NoSuchShadowRoot | |
| ScriptTimeout | |
| SessionNotCreated | |
| StaleElementReference | |
| DetachedShadowRoot | |
| Timeout | |
| UnableToSetCookie | |
| UnableToCaptureScreen | |
| UnexpectedAlertOpen | |
| UnknownCommand | |
| UnknownError | |
| UnknownMethod | |
| UnsupportedOperation | |
| InvalidWebExtension | |
| NoSuchClientWindow | |
| NoSuchHandle | |
| NoSuchHistoryEntry | |
| NoSuchNetworkCollector | |
| NoSuchIntercept | |
| NoSuchNetworkData | |
| NoSuchNode | |
| NoSuchRequest | |
| NoSuchScript | |
| NoSuchStoragePartition | |
| NoSuchUserContext | |
| NoSuchWebExtension | |
| UnableToCloseBrowser | |
| UnableToSetFileInput | |
| UnavailableNetworkData | |
| UnderspecifiedStoragePartition |
Instances
| FromJSON ErrorType Source # | |
Defined in WebDriverPreCore.Error | |
| Bounded ErrorType Source # | |
| Enum ErrorType Source # | |
Defined in WebDriverPreCore.Error Methods succ :: ErrorType -> ErrorType # pred :: ErrorType -> ErrorType # fromEnum :: ErrorType -> Int # enumFrom :: ErrorType -> [ErrorType] # enumFromThen :: ErrorType -> ErrorType -> [ErrorType] # enumFromTo :: ErrorType -> ErrorType -> [ErrorType] # enumFromThenTo :: ErrorType -> ErrorType -> ErrorType -> [ErrorType] # | |
| Read ErrorType Source # | |
| Show ErrorType Source # | |
| Eq ErrorType Source # | |
| Ord ErrorType Source # | |
data JSONEncodeException Source #
Constructors
| MkJSONEncodeException | |
Fields
| |
Instances
| FromJSON JSONEncodeException Source # | |||||
Defined in WebDriverPreCore.Error Methods parseJSON :: Value -> Parser JSONEncodeException # parseJSONList :: Value -> Parser [JSONEncodeException] # | |||||
| Generic JSONEncodeException Source # | |||||
Defined in WebDriverPreCore.Error Associated Types
Methods from :: JSONEncodeException -> Rep JSONEncodeException x # to :: Rep JSONEncodeException x -> JSONEncodeException # | |||||
| Show JSONEncodeException Source # | |||||
Defined in WebDriverPreCore.Error Methods showsPrec :: Int -> JSONEncodeException -> ShowS # show :: JSONEncodeException -> String # showList :: [JSONEncodeException] -> ShowS # | |||||
| Eq JSONEncodeException Source # | |||||
Defined in WebDriverPreCore.Error Methods (==) :: JSONEncodeException -> JSONEncodeException -> Bool # (/=) :: JSONEncodeException -> JSONEncodeException -> Bool # | |||||
| Ord JSONEncodeException Source # | |||||
Defined in WebDriverPreCore.Error Methods compare :: JSONEncodeException -> JSONEncodeException -> Ordering # (<) :: JSONEncodeException -> JSONEncodeException -> Bool # (<=) :: JSONEncodeException -> JSONEncodeException -> Bool # (>) :: JSONEncodeException -> JSONEncodeException -> Bool # (>=) :: JSONEncodeException -> JSONEncodeException -> Bool # max :: JSONEncodeException -> JSONEncodeException -> JSONEncodeException # min :: JSONEncodeException -> JSONEncodeException -> JSONEncodeException # | |||||
| type Rep JSONEncodeException Source # | |||||
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))) | |||||
errorDescription :: ErrorType -> Text Source #
toErrorCode :: ErrorType -> Text Source #