net.thucydides.core.webelements
Class Checkbox
java.lang.Object
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Checkbox
public Checkbox(org.openqa.selenium.WebElement checkboxField)
setChecked
public void setChecked(boolean value)
isChecked
public boolean isChecked()
Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.