| Safe Haskell | Trustworthy |
|---|---|
| Language | Haskell2010 |
Test.Marionette.Protocol
Synopsis
- data Message a = Message {
- messageId :: Int
- messageContent :: a
- newtype MarionetteMessage = MarionetteMessage LazyByteString
- data Command = Command {
- command :: Text
- parameters :: Value
- type Result = Either Error Value
- data Error = Error {}
- data Greeting = Greeting {}
Documentation
Constructors
| Message | |
Fields
| |
newtype MarionetteMessage Source #
Constructors
| MarionetteMessage LazyByteString |
Instances
| Binary MarionetteMessage Source # | |
Defined in Test.Marionette.Protocol Methods put :: MarionetteMessage -> Put # get :: Get MarionetteMessage # putList :: [MarionetteMessage] -> Put # | |
| Show MarionetteMessage Source # | |
Defined in Test.Marionette.Protocol Methods showsPrec :: Int -> MarionetteMessage -> ShowS # show :: MarionetteMessage -> String # showList :: [MarionetteMessage] -> ShowS # | |
Constructors
| Command | |
Fields
| |
An error reported by a Marionette or WebDriver command, as returned by the server.
Constructors
| Error | |
Instances
Constructors
| Greeting | |
Fields | |
Instances
| FromJSON Greeting Source # | |||||
Defined in Test.Marionette.Protocol | |||||
| Generic Greeting Source # | |||||
Defined in Test.Marionette.Protocol Associated Types
| |||||
| Show Greeting Source # | |||||
| type Rep Greeting Source # | |||||
Defined in Test.Marionette.Protocol type Rep Greeting = D1 ('MetaData "Greeting" "Test.Marionette.Protocol" "marionette-1.0.0-2rXrb754J8I8DUtJcHv2xL" 'False) (C1 ('MetaCons "Greeting" 'PrefixI 'True) (S1 ('MetaSel ('Just "applicationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "marionetteProtocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) | |||||