uncheck
The command to deselect checkboxes and radio buttons.
Last updated
<form id="checkboxes">
<input type="checkbox">
checkbox 1
<br>
<input type="checkbox" checked="">
checkbox 2
</form>def test_uncheck(py: Pylenium):
py.visit("https://the-internet.herokuapp.com/checkboxes")
checkboxes = py.find("input")
second_box = checkboxes[1].uncheck()
assert second_box.is_checked() is False