We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ICommandExecutor.ExecuteAsync
1 parent aff6bb8 commit 33f4145Copy full SHA for 33f4145
dotnet/src/webdriver/WebDriver.cs
@@ -612,16 +612,7 @@ protected virtual async Task<Response> ExecuteAsync(string driverCommandToExecut
612
{
613
Command commandToExecute = new Command(SessionId, driverCommandToExecute, parameters);
614
615
- Response commandResponse;
616
-
617
- try
618
- {
619
- commandResponse = await this.executor.ExecuteAsync(commandToExecute).ConfigureAwait(false);
620
- }
621
- catch (System.Net.Http.HttpRequestException e)
622
623
- throw new WebDriverException("The " + driverCommandToExecute + " command failed to send.", e);
624
+ Response commandResponse = await this.executor.ExecuteAsync(commandToExecute).ConfigureAwait(false);
625
626
if (commandResponse.Status != WebDriverResult.Success)
627
0 commit comments