We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0666cb4 commit c43386fCopy full SHA for c43386f
dotnet/src/webdriver/BiDi/WebDriver.Extensions.cs
@@ -9,7 +9,7 @@ public static async Task<BiDi> AsBidirectionalAsync(this IWebDriver webDriver)
9
{
10
var webSocketUrl = ((IHasCapabilities)webDriver).Capabilities.GetCapability("webSocketUrl");
11
12
- if (webSocketUrl is null) throw new System.Exception("The driver is not compatible with bidirectional protocol.");
+ if (webSocketUrl is null) throw new System.Exception("The driver is not compatible with bidirectional protocol or it is not enabled in driver options.");
13
14
var bidi = await BiDi.ConnectAsync(webSocketUrl.ToString()!).ConfigureAwait(false);
15
0 commit comments