net.thucydides.core.webelements
Class Checkbox

Package class diagram package Checkbox
java.lang.Object
  extended by net.thucydides.core.webelements.Checkbox

public class Checkbox
extends Object

A checkbox web element. Simplified handling checkboxes by providing a setChecked() method that will ensure the the checkbox state will finish with the requested value, and which uses clicking as a user would do.


Constructor Summary
Checkbox(org.openqa.selenium.WebElement checkboxField)
           
 
Method Summary
 boolean isChecked()
           
 void setChecked(boolean value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Checkbox

public Checkbox(org.openqa.selenium.WebElement checkboxField)
Method Detail

setChecked

public void setChecked(boolean value)

isChecked

public boolean isChecked()


Copyright © 2011-2012 Wakaleo Consulting. All Rights Reserved.