webdriver-0.8.5: a Haskell client for the Selenium WebDriver protocol

Safe HaskellNone
LanguageHaskell2010

Test.WebDriver.Class

Contents

Synopsis

WebDriver class

class WDSessionStateControl wd => WebDriver wd where Source #

A class for monads that can handle wire protocol requests. This is the operation underlying all of the high-level commands exported in Test.WebDriver.Commands. For more information on the wire protocol see https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol

Minimal complete definition

doCommand

Methods

doCommand :: (ToJSON a, FromJSON b) => Method -> Text -> a -> wd b Source #

Instances

WebDriver WD Source # 

Methods

doCommand :: (ToJSON a, FromJSON b) => Method -> Text -> a -> WD b Source #

WebDriver wd => WebDriver (ListT wd) Source # 

Methods

doCommand :: (ToJSON a, FromJSON b) => Method -> Text -> a -> ListT wd b Source #

WebDriver wd => WebDriver (MaybeT wd) Source # 

Methods

doCommand :: (ToJSON a, FromJSON b) => Method -> Text -> a -> MaybeT wd b Source #

(Error e, WebDriver wd) => WebDriver (ErrorT e wd) Source # 

Methods

doCommand :: (ToJSON a, FromJSON b) => Method -> Text -> a -> ErrorT e wd b Source #

WebDriver wd => WebDriver (ExceptT e wd) Source # 

Methods

doCommand :: (ToJSON a, FromJSON b) => Method -> Text -> a -> ExceptT e wd b Source #

WebDriver wd => WebDriver (StateT s wd) Source # 

Methods

doCommand :: (ToJSON a, FromJSON b) => Method -> Text -> a -> StateT s wd b Source #

WebDriver wd => WebDriver (StateT s wd) Source # 

Methods

doCommand :: (ToJSON a, FromJSON b) => Method -> Text -> a -> StateT s wd b Source #

(Monoid w, WebDriver wd) => WebDriver (WriterT w wd) Source # 

Methods

doCommand :: (ToJSON a, FromJSON b) => Method -> Text -> a -> WriterT w wd b Source #

(Monoid w, WebDriver wd) => WebDriver (WriterT w wd) Source # 

Methods

doCommand :: (ToJSON a, FromJSON b) => Method -> Text -> a -> WriterT w wd b Source #

WebDriver wd => WebDriver (IdentityT * wd) Source # 

Methods

doCommand :: (ToJSON a, FromJSON b) => Method -> Text -> a -> IdentityT * wd b Source #

WebDriver wd => WebDriver (ReaderT * r wd) Source # 

Methods

doCommand :: (ToJSON a, FromJSON b) => Method -> Text -> a -> ReaderT * r wd b Source #

(Monoid w, WebDriver wd) => WebDriver (RWST r w s wd) Source # 

Methods

doCommand :: (ToJSON a, FromJSON b) => Method -> Text -> a -> RWST r w s wd b Source #

(Monoid w, WebDriver wd) => WebDriver (RWST r w s wd) Source # 

Methods

doCommand :: (ToJSON a, FromJSON b) => Method -> Text -> a -> RWST r w s wd b Source #

type Method = ByteString #

HTTP method (flat string type).

methodDelete :: Method #

HTTP Method constants.

methodGet :: Method #

HTTP Method constants.

methodPost :: Method #

HTTP Method constants.