auto_selectCheckbox

public void auto_selectCheckbox(String locator){
    page.locator(locator).isVisible();
    if (!page.locator(locator).isChecked()){
        page.locator(locator).check();
    }
}
What are your feelings
Scroll al inicio