br.com.caelum.seleniumdsl
Interface Page


public interface Page


Method Summary
 Page check(String checkbox)
           
 Page click(String element)
          Clicks something
 ContentTag div(String id)
           
 Form form(String id)
           
 boolean hasLink(String link)
           
 boolean isFilled(String textBoxId, String value)
           
 Page navigate(String element)
          Clicks an element and waits for the browser to load the page
 ContentTag span(String id)
           
 Table table(String id)
           
 String title()
           
 

Method Detail

form

Form form(String id)

div

ContentTag div(String id)

span

ContentTag span(String id)

table

Table table(String id)

navigate

Page navigate(String element)
Clicks an element and waits for the browser to load the page

Parameters:
element - the elements's id or name or an Selenium expression
Returns:
the Page

click

Page click(String element)
Clicks something

Parameters:
element - the element's id or name or a Selenium expression
Returns:
the Page

hasLink

boolean hasLink(String link)

isFilled

boolean isFilled(String textBoxId,
                 String value)

check

Page check(String checkbox)

title

String title()


Copyright © 2008. All Rights Reserved.