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

Represents a connection to an instance of the Safari browser.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
SafariDriverConnection ( IWebSocketConnection connection ) : System

Initializes a new instance of the SafariDriverConnection class.

Send ( Command command ) : OpenQA.Selenium.Remote.Response

Sends a command to the SafariDriver and waits for a response.

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

Метод Описание
ConnectionClosedEventHandler ( object sender, OpenQA.Selenium.Safari.Internal.ConnectionEventArgs e ) : void
ConnectionMessageReceivedEventHandler ( object sender, OpenQA.Selenium.Safari.Internal.TextMessageHandledEventArgs e ) : void
GetQueuedResponse ( ) : OpenQA.Selenium.Remote.Response
WaitForResponse ( System.TimeSpan timeout ) : OpenQA.Selenium.Remote.Response

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

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

Initializes a new instance of the SafariDriverConnection class.
public SafariDriverConnection ( IWebSocketConnection connection ) : System
connection IWebSocketConnection An representing a /// connection using the WebSockets protocol.
Результат System

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

Sends a command to the SafariDriver and waits for a response.
public Send ( Command command ) : OpenQA.Selenium.Remote.Response
command OpenQA.Selenium.Remote.Command The to send to the driver.
Результат OpenQA.Selenium.Remote.Response