C# 클래스 Selenium.Manage

상속: ComInterfaces._Manage
파일 보기 프로젝트 열기: florentbr/SeleniumBasic

공개 메소드들

메소드 설명
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