auto_selectCheckbox

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