Class Checkbox

All Implemented Interfaces:
SpecificConditionHandler, ByLocator, SelenideElementWrapper<Checkbox>

public class Checkbox extends AbstractCheckbox<Checkbox>
Web-element wrapper for checkbox. Supports changing check state.
  • Constructor Details

    • Checkbox

      public Checkbox(org.openqa.selenium.By by)
  • Method Details

    • setChecked

      public Checkbox setChecked(boolean checked)
      Set the checked or unchecked state of a web-element.
      Parameters:
      checked - whether to set the checked state for the web-element
      Returns:
      this to call fluent API
    • isChecked

      protected boolean isChecked()
    • getInputDelegate

      protected com.codeborne.selenide.SelenideElement getInputDelegate()