Package org.openqa.selenium.support.ui
Interface Sleeper
public interfaceSleeper
Abstraction around
Thread.sleep(long) to permit better testability.Field Summary
FieldsMethod Summary
Field Details
SYSTEM_SLEEPER
Method Details
sleep
Sleeps for the specified duration of time.- Parameters:
duration- How long to sleep.- Throws:
InterruptedException- If the thread is interrupted while sleeping.