C# Class Selenium.Manage

Inheritance: ComInterfaces._Manage
Afficher le fichier Open project: florentbr/SeleniumBasic

Méthodes publiques

Méthode Description
AddCookie ( string name, string value, string domain = null, string path = null, string expiry = null, bool secure = false, bool httpOnly = false ) : void

Adds a cookie to the current page.

DeleteAllCookies ( ) : void

Deletes all cookies from the page.

DeleteCookieByName ( string name ) : void

Deletes the cookie with the specified name from the page.

FindCookieByName ( string namePattern ) : Selenium.Cookie

Gets a cookie with the specified name.

Location ( ) : Dictionary

Get the current geo location.

SetLocation ( double latitude, double longitude, double altitude ) : void

Set the current geo location.

Private Methods

Méthode Description
Manage ( RemoteSession session ) : Selenium.Core

Method Details

AddCookie() public méthode

Adds a cookie to the current page.
public AddCookie ( string name, string value, string domain = null, string path = null, string expiry = null, bool secure = false, bool httpOnly = false ) : void
name string
value string
domain string
path string
expiry string
secure bool
httpOnly bool
Résultat void

DeleteAllCookies() public méthode

Deletes all cookies from the page.
public DeleteAllCookies ( ) : void
Résultat void

DeleteCookieByName() public méthode

Deletes the cookie with the specified name from the page.
public DeleteCookieByName ( string name ) : void
name string The name of the cookie to be deleted.
Résultat void

FindCookieByName() public méthode

Gets a cookie with the specified name.
public FindCookieByName ( string namePattern ) : Selenium.Cookie
namePattern string The name of the cookie to retrieve.
Résultat Selenium.Cookie

Location() public méthode

Get the current geo location.
public Location ( ) : Dictionary
Résultat Dictionary

SetLocation() public méthode

Set the current geo location.
public SetLocation ( double latitude, double longitude, double altitude ) : void
latitude double
longitude double
altitude double
Résultat void