Метод | Описание | |
---|---|---|
AddCookie ( Cookie cookie ) : void |
Method for creating a cookie in the browser
|
|
DeleteAllCookies ( ) : void |
Delete All Cookies that are present in the browser
|
|
DeleteCookie ( Cookie cookie ) : void |
Delete a cookie in the browser by passing in a copy of a cookie
|
|
DeleteCookieNamed ( string name ) : void |
Delete the cookie by passing in the name of the cookie
|
|
GetCookieNamed ( string name ) : Cookie |
Method for returning a getting a cookie by name
|
|
RemoteCookieJar ( |
Initializes a new instance of the RemoteCookieJar class.
|
Метод | Описание | |
---|---|---|
GetAllCookies ( ) : ReadOnlyCollection |
Method for getting a Collection of Cookies that are present in the browser
|
public AddCookie ( Cookie cookie ) : void | ||
cookie | Cookie | |
Результат | void |
public DeleteCookie ( Cookie cookie ) : void | ||
cookie | Cookie | An object that represents a copy of the cookie that needs to be deleted |
Результат | void |
public DeleteCookieNamed ( string name ) : void | ||
name | string | The name of the cookie that is in the browser |
Результат | void |
public GetCookieNamed ( string name ) : Cookie | ||
name | string | name of the cookie that needs to be returned |
Результат | Cookie |
public RemoteCookieJar ( |
||
driver | The driver that is currently in use | |
Результат | System |