Class Checkbox


  • public class Checkbox
    extends Object
    A checkbox web element. Simplified handling checkboxes by providing a setChecked() method that will ensure the the checkbox state will finish with the requested value, and which uses clicking as a user would do.
    • Constructor Detail

      • Checkbox

        public Checkbox​(org.openqa.selenium.WebElement checkboxField)
    • Method Detail

      • setChecked

        public void setChecked​(boolean value)
      • isChecked

        public boolean isChecked()