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 bf41649 commit f92ec10Copy full SHA for f92ec10
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