Java 类org.openqa.selenium.support.ui.LoadableComponent 实例源码

项目:testable-testsuite-ui    文件:HomePage.java   
public HomePage(WebDriver driver, LoadableComponent parent, String email, String password)
{
    super(driver);
    this.parent = parent;
    this.email = email;
    this.password = password;
}
项目:automationAbstractions    文件:PublicIsLoadableComponent.java   
PublicIsLoadableComponent(LoadableComponent aPage){
    this.page = aPage;
}
项目:automationAbstractions    文件:PublicLoadableComponentWaiter.java   
public PublicLoadableComponentWaiter(LoadableComponent aComponent) {
    clock = new SystemClock();
    this.componentName =  aComponent.getClass().getCanonicalName();
    this.isLoadedPage = new PublicIsLoadableComponent(aComponent);
}
项目:automationAbstractions    文件:WaitUntil.java   
/**
 * Static method to create a PublicLoadableComponentWaiter which Waits until a loadable component hasLoaded
 * this is just a bit of syntactic sugar so we can write WaitUntil.page(aPage).hasLoaded();
 * @param aPage
 * @return
 */
public static PublicLoadableComponentWaiter page(LoadableComponent aPage){
    return new PublicLoadableComponentWaiter(aPage);
}