Skip to content

Commit

Permalink
[java]: allow setting custom timeout for DevTools (#14931)
Browse files Browse the repository at this point in the history
* allow setting custom timeout via overloaded constructor

* Revert "allow setting custom timeout via overloaded constructor"

This reverts commit 5dfc5f6.

* increase timeout to 30s
  • Loading branch information
navin772 authored Jan 10, 2025
1 parent 7d8068d commit 8740f13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/src/org/openqa/selenium/devtools/DevTools.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class DevTools implements Closeable {
private static final Logger LOG = Logger.getLogger(DevTools.class.getName());

private final Domains protocol;
private final Duration timeout = Duration.ofSeconds(10);
private final Duration timeout = Duration.ofSeconds(30);
private final Connection connection;
private SessionID cdpSession = null;

Expand Down

0 comments on commit 8740f13

Please sign in to comment.