isSelected()
doesn’t work on LABEL
tags, only INPUT
s. The INPUT
is in the HTML you posted.
boolean sandboxClientCheckbox = driver.findElement(By.id("acChkSandboxClient")).isSelected();
5
solved How to check Checkbox is already checked or not on edit page [duplicate]