Skip to content

Commit 2b8adb4

Browse files
committed
[cdp] update Java and .NET signatures to match latest changes in CDP
1 parent 7c14695 commit 2b8adb4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: dotnet/src/webdriver/DevTools/v135/V135JavaScript.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public override async Task DisableRuntime()
7272
/// <returns>A task that represents the asynchronous operation.</returns>
7373
public override async Task EnablePage()
7474
{
75-
await page.Enable().ConfigureAwait(false);
75+
await page.Enable(new Page.EnableCommandSettings()).ConfigureAwait(false);
7676
}
7777

7878
/// <summary>

Diff for: java/src/org/openqa/selenium/devtools/v135/v135Javascript.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ protected Command<Void> doRemoveJsBinding(String scriptName) {
5555

5656
@Override
5757
protected Command<Void> enablePage() {
58-
return Page.enable();
58+
return Page.enable(Optional.empty());
5959
}
6060

6161
@Override

0 commit comments

Comments
 (0)