Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- class WDSessionStateControl wd => WebDriver wd where
- type Method = ByteString
- methodDelete :: Method
- methodGet :: Method
- methodPost :: Method
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
:: (HasCallStack, ToJSON a, FromJSON b) | |
=> Method | HTTP request method |
-> Text | URL of request |
-> a | JSON parameters passed in the body of the request. Note that, as a special case, anything that converts to Data.Aeson.Null will result in an empty request body. |
-> wd b | The JSON result of the HTTP request. |
Instances
WebDriver WD Source # | |
Defined in Test.WebDriver.Monad | |
WebDriver wd => WebDriver (MaybeT wd) Source # | |
Defined in Test.WebDriver.Class | |
WebDriver wd => WebDriver (ExceptT e wd) Source # | |
Defined in Test.WebDriver.Class | |
WebDriver wd => WebDriver (IdentityT wd) Source # | |
Defined in Test.WebDriver.Class | |
WebDriver wd => WebDriver (ReaderT r wd) Source # | |
Defined in Test.WebDriver.Class | |
WebDriver wd => WebDriver (StateT s wd) Source # | |
Defined in Test.WebDriver.Class | |
WebDriver wd => WebDriver (StateT s wd) Source # | |
Defined in Test.WebDriver.Class | |
(Monoid w, WebDriver wd) => WebDriver (WriterT w wd) Source # | |
Defined in Test.WebDriver.Class | |
(Monoid w, WebDriver wd) => WebDriver (WriterT w wd) Source # | |
Defined in Test.WebDriver.Class | |
(Monoid w, WebDriver wd) => WebDriver (RWST r w s wd) Source # | |
Defined in Test.WebDriver.Class | |
(Monoid w, WebDriver wd) => WebDriver (RWST r w s wd) Source # | |
Defined in Test.WebDriver.Class |
type Method = ByteString #
HTTP method (flat string type).
methodDelete :: Method #
HTTP Method constants.
methodPost :: Method #
HTTP Method constants.