C# 클래스 OpenQA.Selenium.Safari.SafariDriverCommandExecutor

Provides a way of executing Commands using the SafariDriver.
상속: ICommandExecutor, IDisposable
파일 보기 프로젝트 열기: krosenvold/selenium-git-release-candidate 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Releases all resources used by the SafariDriverCommandExecutor.

Execute ( Command commandToExecute ) : OpenQA.Selenium.Remote.Response

Executes a command

SafariDriverCommandExecutor ( int port ) : System

Initializes a new instance of the SafariDriverCommandExecutor class.

SafariDriverCommandExecutor ( int port, string safariLocation ) : System

Initializes a new instance of the SafariDriverCommandExecutor class.

Start ( ) : void

Starts the command executor.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases all resources associated with this SafariDriverCommandExecutor.

비공개 메소드들

메소드 설명
CloseSafariProcess ( ) : void
DeleteConnectFile ( ) : void
GetDefaultSafariLocation ( ) : string
LaunchSafariProcess ( string initialPage ) : void
PrepareConnectFile ( ) : string

메소드 상세

Dispose() 공개 메소드

Releases all resources used by the SafariDriverCommandExecutor.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Releases all resources associated with this SafariDriverCommandExecutor.
protected Dispose ( bool disposing ) : void
disposing bool if the Dispose method was explicitly called; otherwise, .
리턴 void

Execute() 공개 메소드

Executes a command
public Execute ( Command commandToExecute ) : OpenQA.Selenium.Remote.Response
commandToExecute OpenQA.Selenium.Remote.Command The command you wish to execute
리턴 OpenQA.Selenium.Remote.Response

SafariDriverCommandExecutor() 공개 메소드

Initializes a new instance of the SafariDriverCommandExecutor class.
public SafariDriverCommandExecutor ( int port ) : System
port int The port on which the executor communicates with the extension.
리턴 System

SafariDriverCommandExecutor() 공개 메소드

Initializes a new instance of the SafariDriverCommandExecutor class.
public SafariDriverCommandExecutor ( int port, string safariLocation ) : System
port int The port on which the executor communicates with the extension.
safariLocation string The location of the Safari executable
리턴 System

Start() 공개 메소드

Starts the command executor.
public Start ( ) : void
리턴 void