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

Safe HaskellNone
LanguageHaskell2010

Test.WebDriver.Exceptions

Synopsis

Documentation

newtype NoSessionId Source #

A command requiring a session ID was attempted when no session ID was available.

Constructors

NoSessionId String 

newtype BadJSON Source #

An error occured when parsing a JSON value.

Constructors

BadJSON String 

data FailedCommandType Source #

The type of failed command exception that occured.

data FailedCommandInfo Source #

Detailed information about the failed command provided by the server.

Constructors

FailedCommandInfo 

Fields

Instances

data StackFrame Source #

An individual stack frame from the stack trace provided by the server during a FailedCommand.

mkFailedCommandInfo :: WDSessionState s => String -> s FailedCommandInfo Source #

Constructs a FailedCommandInfo from only an error message.

failedCommand :: WDSessionStateIO s => FailedCommandType -> String -> s a Source #

Convenience function to throw a FailedCommand locally with no server-side info present.