1 package br.com.caelum.seleniumdsl.table;
2
3 public interface Cell {
4
5 /**
6 * @return the text of the cell or null if the cell is not found
7 */
8 public String value();
9
10 /**
11 * @return the text of the link contained on this cell or null if the cell is not found
12 */
13 public String getLink();
14
15 public String headerValue();
16
17 public String headerLinkValue();
18
19 /**
20 * Checks a possible checkbox contained on this cell
21 *
22 * @return The Cell
23 */
24 public Cell check();
25
26 /**
27 * Unchecks a possible checkbox contained on this cell
28 *
29 * @return The Cell
30 */
31 public Cell uncheck();
32
33 /**
34 * @return if the checkbox contained on this cell is checked
35 */
36 public boolean checked();
37
38 /**
39 * @param content
40 * the content to search
41 * @return if the cell's text contains the parameter
42 */
43 public boolean contains(String content);
44
45 }