webdriver-0.11.0.0: a Haskell client for the Selenium WebDriver protocol
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.WebDriver.Cookies

Synopsis

Documentation

data Cookie Source #

Cookies are delicious delicacies. When sending cookies to the server, a value of Nothing indicates that the server should use a default value. When receiving cookies from the server, a value of Nothing indicates that the server is unable to specify the value.

Constructors

Cookie 

Fields

Instances

Instances details
FromJSON Cookie Source # 
Instance details

Defined in Test.WebDriver.Cookies

ToJSON Cookie Source # 
Instance details

Defined in Test.WebDriver.Cookies

Generic Cookie Source # 
Instance details

Defined in Test.WebDriver.Cookies

Associated Types

type Rep Cookie :: Type -> Type #

Methods

from :: Cookie -> Rep Cookie x #

to :: Rep Cookie x -> Cookie #

Show Cookie Source # 
Instance details

Defined in Test.WebDriver.Cookies

Eq Cookie Source # 
Instance details

Defined in Test.WebDriver.Cookies

Methods

(==) :: Cookie -> Cookie -> Bool #

(/=) :: Cookie -> Cookie -> Bool #

type Rep Cookie Source # 
Instance details

Defined in Test.WebDriver.Cookies

mkCookie :: Text -> Text -> Cookie Source #

Creates a Cookie with only a name and value specified. All other fields are set to Nothing, which tells the server to use default values.