Skip to content

Commit

Permalink
[cdp][java] Page.addScriptToEvaluateOnNewDocument needs an additional…
Browse files Browse the repository at this point in the history
… parameter now
  • Loading branch information
titusfortner committed Sep 17, 2023
1 parent 8ef0b82 commit a2217cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ protected Command<Void> disablePage() {

@Override
protected Command<ScriptIdentifier> addScriptToEvaluateOnNewDocument(String script) {
return Page.addScriptToEvaluateOnNewDocument(script, Optional.empty(), Optional.empty());
return Page.addScriptToEvaluateOnNewDocument(script, Optional.empty(), Optional.empty(), Optional.empty());
}

@Override
Expand Down

0 comments on commit a2217cf

Please sign in to comment.