C# Class OpenQA.Selenium.Cookie

Afficher le fichier Open project: epall/selenium Class Usage Examples

Méthodes publiques

Méthode Description
Cookie ( string name, string value, string path, System.DateTime expiry ) : System

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

Cookie ( string name, string value, string domain, string path, System.DateTime expiry ) : System

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

Method Details

Cookie() public méthode

Initializes a new instance of the Cookie class with a specific name, value, path and expiration date.
If the name is or an empty string, /// or if it contains a semi-colon. If the value is .
public Cookie ( string name, string value, string path, System.DateTime expiry ) : System
name string The name of the cookie.
value string The value of the cookie.
path string The path of the cookie.
expiry System.DateTime The expiration date of the cookie.
Résultat System

Cookie() public méthode

Initializes a new instance of the Cookie 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 is .
public Cookie ( string name, string value, string domain, string path, System.DateTime expiry ) : 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.
Résultat System