I am trying to run an if statement in selenium that would verify if a checkbox was checked and if it was not perform a certain action. I tried
if (selenium.verifyChecked("checkbox")=false){
//perform actions
} else {
//perform different actions
};
and it said that that did not work. How would you do it?