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 b258204 commit b954bcdCopy full SHA for b954bcd
java/src/org/openqa/selenium/remote/service/DriverService.java
@@ -222,8 +222,7 @@ public void start() throws IOException {
222
? StartOrDie.PROCESS_DIED
223
: StartOrDie.PROCESS_IS_ACTIVE;
224
} catch (InterruptedException ex) {
225
- process.shutdown();
226
- return null;
+ return null;
227
}
228
},
229
executorService);
@@ -246,6 +245,7 @@ public void start() throws IOException {
246
245
process = null;
247
throw new WebDriverException("Driver server process died prematurely.");
248
case PROCESS_IS_ACTIVE:
+ process.shutdown();
249
throw new WebDriverException("Timed out waiting for driver server to bind the port.");
250
251
} catch (ExecutionException e) {
0 commit comments