![JAR search and dependency download from the Maven repository](/logo.png)
com.crawljax.condition.NotVisibleCondition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of crawljax Show documentation
Show all versions of crawljax Show documentation
Crawling Ajax applications through dynamic analysis and
reconstruction of the UI state changes. Crawljax is based on a
method which dynamically builds a `state-flow graph' modeling
the various navigation paths and states within an Ajax
application.
The newest version!
package com.crawljax.condition;
import net.jcip.annotations.Immutable;
import com.crawljax.browser.EmbeddedBrowser;
import com.crawljax.core.state.Identification;
/**
* Conditions that returns true iff element found with By is visible.
*
* @author [email protected] (Danny Roest)
* @version $Id$
*/
@Immutable
public class NotVisibleCondition extends AbstractCondition {
private final VisibleCondition visibleCondition;
/**
* @param identification
* the identification.
*/
public NotVisibleCondition(Identification identification) {
this.visibleCondition = new VisibleCondition(identification);
}
@Override
public boolean check(EmbeddedBrowser browser) {
return Logic.not(visibleCondition).check(browser);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy