com.atlassian.jira.webtest.framework.impl.selenium.core.component
Class SeleniumCheckbox
java.lang.Object
com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractSeleniumPageObject
com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractLocatorBasedPageObject
com.atlassian.jira.webtest.framework.impl.selenium.core.component.SeleniumCheckbox
- All Implemented Interfaces:
- Checkbox, Localizable, PageObject
public class SeleniumCheckbox
- extends AbstractLocatorBasedPageObject
- implements Checkbox
Selenium object for checkboxes.
- Since:
- v4.3
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractSeleniumPageObject |
body, conditions, css, forClass, id, jQuery, locatorFor, name, queries, waitFor, xpath |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SeleniumCheckbox
public SeleniumCheckbox(SeleniumLocator locator,
SeleniumContext ctx)
SeleniumCheckbox
public SeleniumCheckbox(SeleniumLocator locator,
SeleniumContext ctx,
Timeouts defaultTimeout)
detector
protected SeleniumLocator detector()
- Main locator of this page object. Its presence means that this object is ready to be manipulated in the test.
- Specified by:
detector
in class AbstractLocatorBasedPageObject
- Returns:
- main locator of this page object
checked
public TimedCondition checked()
- Returns a boolean indicating whether this checkbox is checked.
- Specified by:
checked
in interface Checkbox
- Returns:
- a boolean indicating whether this checkbox is checked
toggle
public Checkbox toggle()
- Sets the checked status of this checkbox.
- Specified by:
toggle
in interface Checkbox
- Returns:
- this
locator
public Locator locator()
- Locator unambiguously locating this page object.
- Specified by:
locator
in interface Localizable
- Returns:
- locator
Copyright © 2002-2013 Atlassian. All Rights Reserved.