Package org.openqa.selenium.net
Class UrlChecker
java.lang.Object
org.openqa.selenium.net.UrlChecker
Polls a URL until a HTTP 200 response is received.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
waitUntilAvailable
(long timeout, TimeUnit unit, URL... urls) void
waitUntilUnavailable
(long timeout, TimeUnit unit, URL url)
-
Constructor Details
-
UrlChecker
public UrlChecker()
-
-
Method Details
-
waitUntilAvailable
public void waitUntilAvailable(long timeout, TimeUnit unit, URL... urls) throws UrlChecker.TimeoutException - Throws:
UrlChecker.TimeoutException
-