File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
java/client/src/org/openqa/selenium/remote/service Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -163,11 +163,11 @@ public void start() throws IOException {
163
163
process .copyOutputTo (System .err );
164
164
process .executeAsync ();
165
165
166
- // URL status = new URL(url.toString() + "/status");
167
- // new UrlChecker().waitUntilAvailable(20, SECONDS, status);
168
- // } catch (UrlChecker.TimeoutException e) {
169
- // process.checkForError();
170
- // throw new WebDriverException("Timed out waiting for driver server to start.", e);
166
+ URL status = new URL (url .toString () + "/status" );
167
+ new UrlChecker ().waitUntilAvailable (20 , SECONDS , status );
168
+ } catch (UrlChecker .TimeoutException e ) {
169
+ process .checkForError ();
170
+ throw new WebDriverException ("Timed out waiting for driver server to start." , e );
171
171
} finally {
172
172
lock .unlock ();
173
173
}
You can’t perform that action at this time.
0 commit comments