externalProtractorCookie
Hierarchy
- Cookie
- ProtractorCookie
Index
Constructors
Methods
Constructors
externalconstructor
Parameters
externalbrowser: ProtractorBrowser
externalcookieName: string
Returns ProtractorCookie
Methods
externaldelete
Returns Promise<void>
externalname
Returns the name of this cookie.
Returns string
externalisPresent
Returns Promise<boolean>
externalvalue
Returns the value of a given cookie.
Returns Promise<string>
externalpath
Returns the path of a given cookie, if any was set.
Returns Promise<string>
externaldomain
Returns the domain of a given cookie, if any was set.
Returns Promise<string>
externalisHttpOnly
Checks if a given cookie is HTTP-only.
Learn more
Returns Promise<boolean>
externalisSecure
Checks if a given cookie is secure.
Learn more
Returns Promise<boolean>
Protractor-specific implementation of
Cookie
.