net.thucydides.core.scheduling
Interface ExpectedBackendCondition<B,T>

Package class diagram package ExpectedBackendCondition
Type Parameters:
T - The return type
All Superinterfaces:
com.google.common.base.Function<B,T>

public interface ExpectedBackendCondition<B,T>
extends com.google.common.base.Function<B,T>

Models a condition that might reasonably be expected to eventually evaluate to something that is neither null nor false. Examples would include determining if a web page has loaded or that an element is visible.

Note that it is expected that ExpectedConditions are idempotent. They will be called in a loop by the WebDriverWait and any modification of the state of the application under test may have unexpected side-effects.


Method Summary
 
Methods inherited from interface com.google.common.base.Function
apply, equals
 



Copyright © 2011-2012 Wakaleo Consulting. All Rights Reserved.