📅  最后修改于: 2022-03-11 14:56:35.454000             🧑  作者: Mango
We locate, and we click on them.
-> isSelected()
This method checks if the checkbox/radiobutton
is selected or not selected.
If the checkbox/radio button is selected isSelected()
syntax:driver.findElement(LOCATOR).isSelected();
-> isEnabled()
This method checks if the checkbox/radiobutton
is enabled to be clicked.
If the checkbox/radiobutton is clickable/enabled isEnabled
syntax:driver.findElement(LOCATOR).isEnabled();