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 0209bec commit 335df5dCopy full SHA for 335df5d
java/src/org/openqa/selenium/remote/service/DriverService.java
@@ -298,6 +298,11 @@ public void stop() {
298
try {
299
URL killUrl = new URL(url.toString() + "/shutdown");
300
new UrlChecker().waitUntilUnavailable(3, SECONDS, killUrl);
301
+ try {
302
+ process.waitFor(Duration.ofSeconds(10));
303
+ } catch (InterruptedException e) {
304
+ Thread.currentThread().interrupt();
305
+ }
306
} catch (MalformedURLException e) {
307
toThrow = new WebDriverException(e);
308
} catch (UrlChecker.TimeoutException e) {
0 commit comments