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

com.sdl.selenium.web.button.IButton 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.button;

import com.sdl.selenium.web.Clickable;
import com.sdl.selenium.web.IWebLocator;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

public interface IButton extends IWebLocator, Clickable {
    Logger log = LogManager.getLogger(IButton.class);

    default void logIfButtonIsDisabled() {
        if (!isEnabled()) {
            log.warn("Button '" + this + "' is disabled!");
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy