All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sdl.selenium.web.form.ICheck Maven / Gradle / Ivy

Go to download

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