Skip to content

Commit 304466e

Browse files
committed
[dotnet] [bidi] Pass the bidi options from main entry point
1 parent 14ce3ac commit 304466e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/webdriver/BiDi/WebDriver.Extensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static async Task<BiDi> AsBiDiAsync(this IWebDriver webDriver, BiDiOption
3737

3838
if (webSocketUrl is null) throw new BiDiException("The driver is not compatible with bidirectional protocol or \"webSocketUrl\" not enabled in driver options.");
3939

40-
var bidi = await BiDi.ConnectAsync(webSocketUrl).ConfigureAwait(false);
40+
var bidi = await BiDi.ConnectAsync(webSocketUrl, options).ConfigureAwait(false);
4141

4242
return bidi;
4343
}

0 commit comments

Comments
 (0)