
net.sf.testium.executor.webdriver.Negate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testium-selenium-plugin Show documentation
Show all versions of testium-selenium-plugin Show documentation
Selenium Plugin for the Testium Executor
The newest version!
package net.sf.testium.executor.webdriver;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.support.ui.ExpectedCondition;
public class Negate implements ExpectedCondition
{
private ExpectedCondition condition;
public Negate(ExpectedCondition condition)
{
this.condition = condition;
}
public Boolean apply(WebDriver webDriver)
{
return !condition.apply(webDriver);
}
public String toString()
{
return "check that " + condition.toString() + " is not true";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy