org.openqa.selenium.net
Class UrlChecker
java.lang.Object
org.openqa.selenium.net.UrlChecker
public class UrlChecker
- extends Object
Polls a URL until a HTTP 200 response is received.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UrlChecker
public UrlChecker()
waitUntilAvailable
public void waitUntilAvailable(long timeout,
TimeUnit unit,
URL... urls)
throws UrlChecker.TimeoutException
- Throws:
UrlChecker.TimeoutException
waitUntilUnavailable
public void waitUntilUnavailable(long timeout,
TimeUnit unit,
URL url)
throws UrlChecker.TimeoutException
- Throws:
UrlChecker.TimeoutException
Copyright © 2011. All Rights Reserved.