View Javadoc

1   package com.atlassian.pageobjects.elements;
2   
3   /**
4    * Represents an input element with type=checkbox
5    */
6   public interface CheckboxElement extends PageElement
7   {
8   
9       /**
10       * @return {@code true}, if this checkbox is currently checked
11       * @since 2.3
12       */
13      boolean isChecked();
14  
15      /**
16       * Checks this Checkbox
17       *
18       * @return CheckboxElement
19       */
20      CheckboxElement check();
21  
22      /**
23       * Unchecks this Checkbox
24       *
25       * @return CheckboxElement
26       */
27      CheckboxElement uncheck();
28  }