webdriver-0.3: src/Test/WebDriver/Types.hs
{-# LANGUAGE GeneralizedNewtypeDeriving, DeriveDataTypeable,
TemplateHaskell, OverloadedStrings, ExistentialQuantification,
MultiParamTypeClasses, TypeFamilies,
RecordWildCards
#-}
{-# OPTIONS_HADDOCK not-home #-}
module Test.WebDriver.Types
( -- * WebDriver sessions
WD(..), WDSession(..), defaultSession, SessionId(..)
-- * Capabilities and configuration
, Capabilities(..), defaultCaps, allCaps
, Platform(..), ProxyType(..)
-- ** Browser-specific configuration
, Browser(..),
-- ** Default settings for browsers
firefox, chrome, ie, opera, iPhone, iPad, android
, LogPref(..)
-- * WebDriver objects and command-specific types
, Element(..)
, WindowHandle(..), currentWindow
, Selector(..)
, JSArg(..)
, FrameSelector(..)
, Cookie(..), mkCookie
, Orientation(..)
, MouseButton(..)
, WebStorageType(..)
-- * Exceptions
, InvalidURL(..), NoSessionId(..), BadJSON(..)
, HTTPStatusUnknown(..), HTTPConnError(..)
, UnknownCommand(..), ServerError(..)
, FailedCommand(..), FailedCommandType(..)
, FailedCommandInfo(..), StackFrame(..)
, mkFailedCommandInfo, failedCommand
) where
import Test.WebDriver.Monad
import Test.WebDriver.Classes
import Test.WebDriver.Commands
import Test.WebDriver.Exceptions
import Test.WebDriver.Capabilities