auto_deselectCheckbox

public void auto_deselectCheckbox(String elementPath, String ... elementValue) {
    By locator =  LocatorBuilder.getBy(elementPath, elementValue);
    WebElement checkbox = getDriver().findElement(locator);
    if (checkbox.isSelected()) {
        checkbox.click();
    }

}
What are your feelings
Scroll al inicio