C# Класс OpenQA.Selenium.Internal.ReturnedCookie

Represents a cookie returned to the driver by the browser.
Наследование: Cookie
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ReturnedCookie ( string name, string value, string domain, string path, System.DateTime expiry, bool isSecure, Uri currentUrl ) : System

Initializes a new instance of the ReturnedCookie class with a specific name, value, domain, path and expiration date.

ToString ( ) : string

Creates and returns a string representation of the current cookie.

Защищенные методы

Метод Описание
Validate ( ) : void

Validates the cookie is correctly formed.

Описание методов

ReturnedCookie() публичный Метод

Initializes a new instance of the ReturnedCookie class with a specific name, value, domain, path and expiration date.
If the name is or an empty string, /// or if it contains a semi-colon. If the value or currentUrl is .
public ReturnedCookie ( string name, string value, string domain, string path, System.DateTime expiry, bool isSecure, Uri currentUrl ) : System
name string The name of the cookie.
value string The value of the cookie.
domain string The domain of the cookie.
path string The path of the cookie.
expiry System.DateTime The expiration date of the cookie.
isSecure bool if the cookie is secure; otherwise
currentUrl System.Uri The current the browser is viewing.
Результат System

ToString() публичный Метод

Creates and returns a string representation of the current cookie.
public ToString ( ) : string
Результат string

Validate() защищенный Метод

Validates the cookie is correctly formed.
protected Validate ( ) : void
Результат void