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

Provides the handler for the DriverCommand.ExecuteScript command.
Inheritance: WebDriverCommandHandler
Afficher le fichier Open project: jimevans/strontium

Méthodes publiques

Méthode Description
Execute ( ) : object

Executes an arbitrary JavaScript function on the page.

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

Initializes a new instance of the ExecuteScriptHandler class.

ToString ( ) : string

Returns a string representing the description of this CommandHandler.

Méthodes protégées

Méthode Description
ParseArguments ( ) : object[]

Parses arguments to the script.

ParseJavaScriptReturnValue ( object returnValue ) : object

Parses the return value from the JavaScript execution.

Method Details

Execute() public méthode

Executes an arbitrary JavaScript function on the page.
public Execute ( ) : object
Résultat object

ExecuteScriptHandler() public méthode

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

ParseArguments() protected méthode

Parses arguments to the script.
protected ParseArguments ( ) : object[]
Résultat object[]

ParseJavaScriptReturnValue() protected méthode

Parses the return value from the JavaScript execution.
protected ParseJavaScriptReturnValue ( object returnValue ) : object
returnValue object The return value returned from the JavaScript execution.
Résultat object

ToString() public méthode

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