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 c95ad05 commit 921b224Copy full SHA for 921b224
dotnet/src/webdriver/WebDriver.cs
@@ -612,20 +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
- commandResponse = new Response
624
625
- Status = WebDriverResult.UnknownError,
626
- Value = e
627
- };
628
+ Response commandResponse = await this.executor.ExecuteAsync(commandToExecute).ConfigureAwait(false);
629
630
if (commandResponse.Status != WebDriverResult.Success)
631
0 commit comments