C# Класс OpenQA.Selenium.Safari.SafariDriverCommandExecutor

Provides a way of executing Commands using the SafariDriver.
Наследование: ICommandExecutor, IDisposable
Показать файл Открыть проект Примеры использования класса

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

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