
net.sf.testium.executor.webdriver.NotNull 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 NotNull implements ExpectedCondition
{
private ExpectedCondition condition;
public NotNull(ExpectedCondition condition)
{
this.condition = condition;
}
public Boolean apply(WebDriver webDriver)
{
if (condition.apply(webDriver) == null)
{
return true;
}
return false;
}
public String toString()
{
return "check that " + condition.toString() + " is not null";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy