auto_selectCheckbox

public void auto_selectCheckbox(String elementPath, String ... elementValue) {
    By locator =  LocatorBuilder.getBy(elementPath, elementValue);
    WebElement checkbox = auto_getWebElement(locator);
    if (!checkbox.isSelected()) {
        checkbox.click();
    }
}
What are your feelings
Scroll al inicio