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 658c69f commit 0f71ed6Copy full SHA for 0f71ed6
1 file changed
java/src/org/openqa/selenium/bidi/BiDi.java
@@ -30,6 +30,14 @@ public class BiDi implements Closeable {
30
private final Duration timeout;
31
private final Connection connection;
32
33
+ /**
34
+ * @deprecated Use constructor with timeout parameter: {@link #BiDi(Connection, Duration)}
35
+ */
36
+ @Deprecated(forRemoval = true)
37
+ public BiDi(Connection connection) {
38
+ this(connection, Duration.ofSeconds(30));
39
+ }
40
+
41
public BiDi(Connection connection, Duration timeout) {
42
this.connection = Require.nonNull("WebSocket connection", connection);
43
this.timeout = Require.nonNull("WebSocket timeout", timeout);
0 commit comments