ProtractorCookie
Hierarchy
- Cookie
- ProtractorCookie
Index
Constructors
Methods
Constructors
constructor
Parameters
browser: ProtractorBrowser
cookieName: string
Returns ProtractorCookie
Methods
delete
Returns Promise<void>
name
Returns the name of this cookie.
Returns string
isPresent
Returns Promise<boolean>
value
Returns the value of a given cookie.
Returns Promise<string>
path
Returns the path of a given cookie, if any was set.
Returns Promise<string>
domain
Returns the domain of a given cookie, if any was set.
Returns Promise<string>
isHttpOnly
Checks if a given cookie is HTTP-only.
Learn more
Returns Promise<boolean>
isSecure
Checks if a given cookie is secure.
Learn more
Returns Promise<boolean>
expiry
Returns Promise<Timestamp>
Protractor-specific implementation of Cookie.