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 {
163163 process .copyOutputTo (System .err );
164164 process .executeAsync ();
165165
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 );
171171 } finally {
172172 lock .unlock ();
173173 }
You can’t perform that action at this time.
0 commit comments