C# Class OpenQA.Selenium.Remote.Server.CommandHandlers.WebElementCommandHandler

Base class for handling all DriverCommand values where the URL specifies an element id. In other words, the URL must contain "/element/{id}/".
Inheritance: WebDriverCommandHandler
Afficher le fichier Open project: jimevans/strontium

Méthodes protégées

Méthode Description
GetElement ( ) : IWebElement

Gets the IWebElement on which to execute the command, using the specified DriverSession.

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

Initializes a new instance of the WebElementCommandHandler class.

Method Details

GetElement() protected méthode

Gets the IWebElement on which to execute the command, using the specified DriverSession.
Thrown when the element identified /// by this cannot be found in the repository /// of known elements for the specified .
protected GetElement ( ) : IWebElement
Résultat IWebElement

WebElementCommandHandler() protected méthode

Initializes a new instance of the WebElementCommandHandler class.
protected WebElementCommandHandler ( 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