Represents a cookie returned to the driver by the browser.
Inheritance Hierarchy
OpenQA.SeleniumCookie
OpenQA.Selenium.InternalReturnedCookie
Namespace: OpenQA.Selenium.Internal
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0
Syntax
The ReturnedCookie type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | ReturnedCookie |
Initializes a new instance of the ReturnedCookie class with a specific name,
value, domain, path and expiration date.
|
Properties
Name | Description | |
---|---|---|
![]() | Domain |
Gets the domain of the cookie.
(Inherited from Cookie.) |
![]() | Expiry |
Gets the expiration date of the cookie.
(Inherited from Cookie.) |
![]() | IsHttpOnly |
Gets a value indicating whether the cookie is an HTTP-only cookie.
(Overrides CookieIsHttpOnly.) |
![]() | Name |
Gets the name of the cookie.
(Inherited from Cookie.) |
![]() | Path |
Gets the path of the cookie.
(Inherited from Cookie.) |
![]() | Secure |
Gets a value indicating whether the cookie is secure.
(Overrides CookieSecure.) |
![]() | Value |
Gets the value of the cookie.
(Inherited from Cookie.) |
Methods
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Cookie.) |
![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Cookie.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString |
Creates and returns a string representation of the current cookie.
(Overrides CookieToString.) |
See Also