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

Safe HaskellNone

Test.WebDriver.Config

Contents

Synopsis

WebDriver configuration

data WDConfig Source

WebDriver session configuration

Constructors

WDConfig 

Fields

wdHost :: String

Host name of the WebDriver server for this session (default 127.0.0.1)

wdPort :: Int

Port number of the server (default 4444)

wdCapabilities :: Capabilities

Capabilities to use for this session

wdKeepSessHist :: Bool

Whether or not we should keep a history of HTTP requests/responses

By default, only the last request/response pair is stored (O(1) heap consumption). Enable this option for more detailed debugging info for HTTP requests.

wdBasePath :: String
 
wdHTTPManager :: Maybe Manager

Use the given http-client Manager instead of the default

Instances

defaultConfig :: WDConfigSource

A default session config connects to localhost on port 4444, and hasn't been initialized server-side. This value is the same as def but with a less polymorphic type.

mkSession :: MonadBase IO m => WDConfig -> m WDSessionSource

Constructs a new WDSession from a given WDConfig