com.sdl.selenium.web.form.ICheck Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Testy Show documentation
Show all versions of Testy Show documentation
Automated Acceptance Testing. Selenium and Selenium WebDriver test framework for web applications.
(optimized for dynamic html, ExtJS, Bootstrap, complex UI, simple web applications/sites)
The newest version!
package com.sdl.selenium.web.form;
import com.sdl.selenium.web.Clickable;
import com.sdl.selenium.web.IWebLocator;
public interface ICheck extends Clickable, IWebLocator {
boolean isChecked();
default boolean check(boolean checked) {
return checked == isChecked() || (click() && (checked == isChecked()));
}
default boolean doCheck(boolean checked) {
return checked == isChecked() || (doClick() && (checked == isChecked()));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy