Checkboxes
Interactions with input
with attribute type="checkbox"
.
Reading the element
Getting the right element class for the xpath
Try to get a CheckboxElement
Reference
Get if it's checked
Set as checked
Only set the checkbox as checked/active.
Set as unchecked
Only set the checkbox as unchecked/inactive.
Switch the value
Just switch the checkbox value. If it's checked, it will be unchecked, and vice versa.