Package org.openqa.selenium.support.ui
Interface Sleeper
public interface Sleeper
Abstraction around
Thread.sleep(long)
to permit better testability.-
Field Summary
-
Method 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.
-