Package net.serenitybdd.core.pages
Class WidgetObjectImpl
java.lang.Object
net.serenitybdd.core.pages.WebElementFacadeImpl
net.serenitybdd.core.pages.WidgetObjectImpl
- All Implemented Interfaces:
io.appium.java_client.FindsByAccessibilityId
,io.appium.java_client.FindsByAndroidUIAutomator
,io.appium.java_client.FindsByFluentSelector
,WebElementFacade
,WebElementState
,WidgetObject
,WebElementFacade
,WebElementState
,ConfigurableTimeouts
,org.openqa.selenium.interactions.Locatable
,org.openqa.selenium.SearchContext
,org.openqa.selenium.TakesScreenshot
,org.openqa.selenium.WebElement
,org.openqa.selenium.WrapsElement
public class WidgetObjectImpl extends WebElementFacadeImpl implements WidgetObject
Base implementation for
WidgetObject
.- Author:
- Joe Nasca
-
Constructor Summary
Constructors Constructor Description WidgetObjectImpl(PageObject page, org.openqa.selenium.support.pagefactory.ElementLocator locator, long timeoutInMilliseconds)
WidgetObjectImpl(PageObject page, org.openqa.selenium.support.pagefactory.ElementLocator locator, org.openqa.selenium.WebElement webElement, long timeoutInMilliseconds)
-
Method Summary
Modifier and Type Method Description PageObject
getPage()
Get the page containing this widget.Methods inherited from class net.serenitybdd.core.pages.WebElementFacadeImpl
and, clear, click, click, containsElements, containsElements, containsOnlyText, containsSelectOption, containsText, containsValue, deselect, deselectAll, deselectByIndex, deselectByValue, deselectByVisibleText, driverIsDisabled, expect, expectingErrorMessage, find, findBy, findBy, findBy, findElement, findElement, findElementByAccessibilityId, findElementByAndroidUIAutomator, findElements, findElements, findElementsByAccessibilityId, findElementsByAndroidUIAutomator, foundBy, getAttribute, getClock, getCoordinates, getCssValue, getCurrentImplicitTimeout, getElement, getErrorMessage, getFirstSelectedOptionValue, getFirstSelectedOptionVisibleText, getFoundBy, getImplicitTimeout, getImplicitTimeoutInMilliseconds, getJavascriptExecutorFacade, getLocation, getLocator, getRect, getScreenshotAs, getSelectedValue, getSelectedValues, getSelectedVisibleTexts, getSelectedVisibleTextValue, getSelectOptions, getSize, getTagName, getText, getTextContent, getTextValue, getValue, getWrappedElement, hasClass, hasFocus, isClickable, isCurrentlyEnabled, isCurrentlyVisible, isDisabled, isDisplayed, isEnabled, isPresent, isSelected, isVisible, notifyScreenChange, resetTimeouts, select, selectByIndex, selectByValue, selectByVisibleText, sendKeys, setImplicitTimeout, setWindowFocus, shouldBeCurrentlyVisible, shouldBeEnabled, shouldBePresent, shouldBeVisible, shouldContainElements, shouldContainElements, shouldContainOnlyText, shouldContainSelectedOption, shouldContainText, shouldNotBeCurrentlyVisible, shouldNotBeEnabled, shouldNotBePresent, shouldNotBeVisible, shouldNotContainText, submit, then, then, then, then, thenFind, thenFind, thenFindAll, thenFindAll, thenFindAll, timeoutInMilliseconds, toString, type, typeAndEnter, typeAndTab, waitForCondition, waitUntilClickable, waitUntilDisabled, waitUntilElementAvailable, waitUntilElementPresent, waitUntilEnabled, waitUntilNotVisible, waitUntilPresent, waitUntilVisible, withTimeoutOf, withTimeoutOf, withTimeoutOf, wrapWebElement, wrapWebElement, wrapWebElement, wrapWebElement, wrapWebElement
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.thucydides.core.webdriver.ConfigurableTimeouts
getCurrentImplicitTimeout, resetTimeouts, setImplicitTimeout
Methods inherited from interface io.appium.java_client.FindsByAccessibilityId
findElementByAccessibilityId, findElementsByAccessibilityId
Methods inherited from interface io.appium.java_client.FindsByAndroidUIAutomator
findElementByAndroidUIAutomator, findElementsByAndroidUIAutomator
Methods inherited from interface io.appium.java_client.FindsByFluentSelector
findElement, findElements
Methods inherited from interface org.openqa.selenium.interactions.Locatable
getCoordinates
Methods inherited from interface org.openqa.selenium.TakesScreenshot
getScreenshotAs
Methods inherited from interface org.openqa.selenium.WebElement
findElement, findElements, getCssValue, getLocation, getRect, getSize, getTagName, isDisplayed, isEnabled, isSelected, sendKeys, submit
Methods inherited from interface net.serenitybdd.core.pages.WebElementFacade
and, clear, click, click, containsElements, containsElements, deselect, deselectAll, deselectByIndex, deselectByValue, deselectByVisibleText, find, findBy, findBy, findBy, getAttribute, getElement, getFirstSelectedOptionValue, getFirstSelectedOptionVisibleText, getImplicitTimeoutInMilliseconds, getSelectedValues, getSelectedVisibleTexts, getSelectOptions, getText, getTextContent, getValue, hasClass, isDisabled, select, selectByIndex, selectByValue, selectByVisibleText, setWindowFocus, shouldContainElements, shouldContainElements, then, then, then, then, thenFind, thenFind, thenFindAll, thenFindAll, thenFindAll, toString, type, typeAndEnter, typeAndTab, waitForCondition, waitUntilClickable, waitUntilDisabled, waitUntilEnabled, waitUntilNotVisible, waitUntilPresent, waitUntilVisible, withTimeoutOf, withTimeoutOf, withTimeoutOf
Methods inherited from interface net.serenitybdd.core.pages.WebElementState
containsOnlyText, containsSelectOption, containsText, containsValue, expect, getSelectedValue, getSelectedVisibleTextValue, getTextValue, hasFocus, isClickable, isCurrentlyEnabled, isCurrentlyVisible, isEnabled, isPresent, isSelected, isVisible, shouldBeCurrentlyVisible, shouldBeEnabled, shouldBePresent, shouldBeVisible, shouldContainOnlyText, shouldContainSelectedOption, shouldContainText, shouldNotBeCurrentlyVisible, shouldNotBeEnabled, shouldNotBePresent, shouldNotBeVisible, shouldNotContainText
Methods inherited from interface org.openqa.selenium.WrapsElement
getWrappedElement
-
Constructor Details
-
WidgetObjectImpl
public WidgetObjectImpl(PageObject page, org.openqa.selenium.support.pagefactory.ElementLocator locator, org.openqa.selenium.WebElement webElement, long timeoutInMilliseconds) -
WidgetObjectImpl
public WidgetObjectImpl(PageObject page, org.openqa.selenium.support.pagefactory.ElementLocator locator, long timeoutInMilliseconds)
-
-
Method Details
-
getPage
Description copied from interface:WidgetObject
Get the page containing this widget.- Specified by:
getPage
in interfaceWidgetObject
- Returns:
- the page containing this widget
-