diff --git a/java/src/org/openqa/selenium/remote/http/jdk/JdkHttpClient.java b/java/src/org/openqa/selenium/remote/http/jdk/JdkHttpClient.java index 86aed0a109c92..d60d1dcfe93d1 100644 --- a/java/src/org/openqa/selenium/remote/http/jdk/JdkHttpClient.java +++ b/java/src/org/openqa/selenium/remote/http/jdk/JdkHttpClient.java @@ -232,7 +232,6 @@ public void onError(java.net.http.WebSocket webSocket, Throwable error) { LOG.log( Level.FINE, error, () -> "An error has occurred: " + error.getMessage()); listener.onError(error); - webSocket.request(1); } });