C# Class 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}/".
Inheritance: CommandHandler
Afficher le fichier Open project: jimevans/strontium

Méthodes publiques

Méthode Description
ToString ( ) : string

Returns a string representing the description of this CommandHandler.

Méthodes protégées

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

Method Details

GetLocator() protected static méthode

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

ToString() public méthode

Returns a string representing the description of this CommandHandler.
public ToString ( ) : string
Résultat string

WebDriverCommandHandler() protected méthode

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

WrapElement() protected méthode

Wraps an IWebElement for transmission back to a remote client.
protected WrapElement ( IWebElement element ) : object>.Dictionary
element IWebElement The to wrap for transmission.
Résultat object>.Dictionary