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
Base implementation for
WidgetObject.- Author:
- Joe Nasca
-
Constructor Summary
ConstructorsConstructorDescriptionWidgetObjectImpl(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
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, wrapWebElementMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.thucydides.core.webdriver.ConfigurableTimeouts
getCurrentImplicitTimeout, resetTimeouts, setImplicitTimeoutMethods inherited from interface io.appium.java_client.FindsByAccessibilityId
findElementByAccessibilityId, findElementsByAccessibilityIdMethods inherited from interface io.appium.java_client.FindsByAndroidUIAutomator
findElementByAndroidUIAutomator, findElementsByAndroidUIAutomatorMethods inherited from interface io.appium.java_client.FindsByFluentSelector
findElement, findElementsMethods inherited from interface org.openqa.selenium.interactions.Locatable
getCoordinatesMethods inherited from interface org.openqa.selenium.TakesScreenshot
getScreenshotAsMethods inherited from interface org.openqa.selenium.WebElement
findElement, findElements, getCssValue, getLocation, getRect, getSize, getTagName, isDisplayed, isEnabled, isSelected, sendKeys, submitMethods 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, withTimeoutOfMethods 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, shouldNotContainTextMethods 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:WidgetObjectGet the page containing this widget.- Specified by:
getPagein interfaceWidgetObject- Returns:
- the page containing this widget
-