C# Class OpenQA.Selenium.IE.InternetExplorerDriver.InternetExplorerOptions

Provides a mechanism for setting options needed for the driver during the test.
Inheritance: IOptions
Afficher le fichier Open project: epall/selenium

Méthodes publiques

Méthode Description
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 that is the.

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.

GetCookies ( ) : ReadOnlyCollection

Method for getting a Collection of Cookies that are present in the browser.

InternetExplorerOptions ( InternetExplorerDriver driver ) : System

Initializes a new instance of the InternetExplorerOptions class.

Private Methods

Méthode Description
DeleteCookieByPath ( Cookie cookie ) : void
GetCurrentUri ( ) : Uri
RecursivelyDeleteCookieByDomain ( Cookie cookie ) : void

Method Details

AddCookie() public méthode

Method for creating a cookie in the browser.
public AddCookie ( Cookie cookie ) : void
cookie Cookie that represents a cookie in the browser.
Résultat void

DeleteAllCookies() public méthode

Delete All Cookies that are present in the browser.
public DeleteAllCookies ( ) : void
Résultat void

DeleteCookie() public méthode

Delete a cookie in the browser that is the.
public DeleteCookie ( Cookie cookie ) : void
cookie Cookie An object that represents a copy of the cookie that needs to be deleted.
Résultat void

DeleteCookieNamed() public méthode

Delete the cookie by passing in the name of the cookie.
public DeleteCookieNamed ( string name ) : void
name string The name of the cookie that is in the browser.
Résultat void

GetCookieNamed() public méthode

Method for returning a getting a cookie by name.
public GetCookieNamed ( string name ) : Cookie
name string name of the cookie that needs to be returned.
Résultat Cookie

GetCookies() public méthode

Method for getting a Collection of Cookies that are present in the browser.
public GetCookies ( ) : ReadOnlyCollection
Résultat ReadOnlyCollection

InternetExplorerOptions() public méthode

Initializes a new instance of the InternetExplorerOptions class.
public InternetExplorerOptions ( InternetExplorerDriver driver ) : System
driver InternetExplorerDriver Instance of the driver currently in use.
Résultat System