C# Class OpenQA.Selenium.Safari.SafariDriverCommandExecutor

Provides a way of executing Commands using the SafariDriver.
Inheritance: ICommandExecutor, IDisposable
Afficher le fichier Open project: krosenvold/selenium-git-release-candidate Class Usage Examples

Méthodes publiques

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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases all resources associated with this SafariDriverCommandExecutor.

Private Methods

Méthode Description
CloseSafariProcess ( ) : void
DeleteConnectFile ( ) : void
GetDefaultSafariLocation ( ) : string
LaunchSafariProcess ( string initialPage ) : void
PrepareConnectFile ( ) : string

Method Details

Dispose() public méthode

Releases all resources used by the SafariDriverCommandExecutor.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

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

Execute() public méthode

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

SafariDriverCommandExecutor() public méthode

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.
Résultat System

SafariDriverCommandExecutor() public méthode

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
Résultat System

Start() public méthode

Starts the command executor.
public Start ( ) : void
Résultat void