View Javadoc

1   package br.com.caelum.seleniumdsl;
2   
3   public interface Field {
4   
5   	/**
6   	 * Types something on this field.
7   	 * 
8   	 * @param content
9   	 *            the content to be typed
10  	 * @return the Form
11  	 */
12  	public Form type(String content);
13  
14  	/**
15  	 * @param text
16  	 *            the text to be compared
17  	 * @return if the field contains the text
18  	 */
19  	public boolean contains(String text);
20  
21  	/**
22  	 * @return the text of this field
23  	 */
24  	public String content();
25  
26  	/**
27  	 * Executes the blur action in this component.
28  	 */
29  	public void blur();
30  
31  }