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.
1 parent fc463fd commit 7e194dfCopy full SHA for 7e194df
java/src/org/openqa/selenium/devtools/DevTools.java
@@ -86,6 +86,10 @@ public void disconnectSession() {
86
}
87
88
public <X> X send(Command<X> command) {
89
+ return send(command, this.timeout);
90
+ }
91
+
92
+ public <X> X send(Command<X> command, Duration timeout) {
93
Require.nonNull("Command to send", command);
94
return connection.sendAndWait(cdpSession, command, timeout);
95
0 commit comments