public static class SetCheckbox.SetCheckboxInteractionForElement extends Object implements SetCheckboxInteraction
| Constructor and Description |
|---|
SetCheckboxInteractionForElement(org.openqa.selenium.WebElement element) |
| Modifier and Type | Method and Description |
|---|---|
ClickInteraction |
toFalse()
Set a checkbox value to false (unselected)
|
ClickInteraction |
toTrue()
Set a checkbox value to true (selected)
|
public SetCheckboxInteractionForElement(org.openqa.selenium.WebElement element)
public ClickInteraction toTrue()
SetCheckboxInteractiontoTrue in interface SetCheckboxInteractionpublic ClickInteraction toFalse()
SetCheckboxInteractiontoFalse in interface SetCheckboxInteractionCopyright © 2023. All rights reserved.