C# Класс OpenQA.Selenium.Remote.Server.CommandHandlers.WebDriverCommandHandler

Base class for handling all DriverCommand values where the URL specifies a session ID. In other words, the URL must contain "/session/{sessionId}/".
Наследование: CommandHandler
Показать файл Открыть проект

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

Метод Описание
ToString ( ) : string

Returns a string representing the description of this CommandHandler.

Защищенные методы

Метод Описание
GetLocator ( string mechanism, string findValue ) : By

Gets a By object to be used to locate elements on the page.

WebDriverCommandHandler ( string>.Dictionary locatorParameters, object>.Dictionary parameters ) : System

Initializes a new instance of the WebDriverCommandHandler class.

WrapElement ( IWebElement element ) : object>.Dictionary

Wraps an IWebElement for transmission back to a remote client.

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

GetLocator() защищенный статический Метод

Gets a By object to be used to locate elements on the page.
protected static GetLocator ( string mechanism, string findValue ) : By
mechanism string The mechanism to use, such as ID, name or link text to find elements.
findValue string The value to match in finding elements.
Результат By

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

Returns a string representing the description of this CommandHandler.
public ToString ( ) : string
Результат string

WebDriverCommandHandler() защищенный Метод

Initializes a new instance of the WebDriverCommandHandler class.
protected WebDriverCommandHandler ( string>.Dictionary locatorParameters, object>.Dictionary parameters ) : System
locatorParameters string>.Dictionary A containing the parameters used to match a resource in the URL.
parameters object>.Dictionary A containing the parameters used to operate on the resource.
Результат System

WrapElement() защищенный Метод

Wraps an IWebElement for transmission back to a remote client.
protected WrapElement ( IWebElement element ) : object>.Dictionary
element IWebElement The to wrap for transmission.
Результат object>.Dictionary