auto_deselectCheckbox

public void auto_deselectCheckbox(By locator) {
    WebElement checkbox = this.driver.findElement(locator);
    if (checkbox.isSelected()) {
        checkbox.click();
    }
}
What are your feelings
Scroll al inicio