Skip to content

Commit 8740f13

Browse files
authored
[java]: allow setting custom timeout for DevTools (#14931)
* allow setting custom timeout via overloaded constructor * Revert "allow setting custom timeout via overloaded constructor" This reverts commit 5dfc5f6. * increase timeout to 30s
1 parent 7d8068d commit 8740f13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/src/org/openqa/selenium/devtools/DevTools.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class DevTools implements Closeable {
4242
private static final Logger LOG = Logger.getLogger(DevTools.class.getName());
4343

4444
private final Domains protocol;
45-
private final Duration timeout = Duration.ofSeconds(10);
45+
private final Duration timeout = Duration.ofSeconds(30);
4646
private final Connection connection;
4747
private SessionID cdpSession = null;
4848

0 commit comments

Comments
 (0)