C# Класс Selenium.Manage

Наследование: ComInterfaces._Manage
Показать файл Открыть проект

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

Метод Описание
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.

Приватные методы

Метод Описание
Manage ( RemoteSession session ) : Selenium.Core

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

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

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
Результат void

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

Deletes all cookies from the page.
public DeleteAllCookies ( ) : void
Результат void

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

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.
Результат void

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

Gets a cookie with the specified name.
public FindCookieByName ( string namePattern ) : Selenium.Cookie
namePattern string The name of the cookie to retrieve.
Результат Selenium.Cookie

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

Get the current geo location.
public Location ( ) : Dictionary
Результат Dictionary

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

Set the current geo location.
public SetLocation ( double latitude, double longitude, double altitude ) : void
latitude double
longitude double
altitude double
Результат void