MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / Execute

Method Execute

dotnet/src/webdriver/WebDriver.cs:562–565  ·  view source on GitHub ↗

Executes a command with this driver. A value representing the command to execute. A containing the names and values of the parameters of the command. A containing information about the success or failure of the

(string driverCommandToExecute, Dictionary<string, object?>? parameters)

Source from the content-addressed store, hash-verified

560 /// <returns>A <see cref="Response"/> containing information about the success or failure of the command and any data returned by the command.</returns>
561 /// <exception cref="ArgumentNullException">If <paramref name="driverCommandToExecute"/> is <see langword="null"/>.</exception>
562 protected internal virtual Response Execute(string driverCommandToExecute, Dictionary<string, object?>? parameters)
563 {
564 return Task.Run(() => this.ExecuteAsync(driverCommandToExecute, parameters)).GetAwaiter().GetResult();
565 }
566
567 /// <summary>
568 /// Executes a command with this driver.

Callers 15

WebDriverClass · 0.95
CloseMethod · 0.95
FindElementMethod · 0.95
FindElementsMethod · 0.95
GetScreenshotMethod · 0.95
PrintMethod · 0.95
PerformActionsMethod · 0.95
ResetInputStateMethod · 0.95
StartSessionMethod · 0.95
DisposeMethod · 0.95
ExecuteScriptCommandMethod · 0.95

Calls 1

ExecuteAsyncMethod · 0.95

Tested by

no test coverage detected