Class TextElementFacadeImpl

java.lang.Object
net.serenitybdd.core.pages.WebElementFacadeImpl
io.meeds.qa.ui.elements.ElementFacadeImpl
io.meeds.qa.ui.elements.TextElementFacadeImpl
All Implemented Interfaces:
ElementFacade, TextElementFacade, net.serenitybdd.core.pages.WebElementFacade, net.serenitybdd.core.pages.WebElementState, net.thucydides.core.pages.WebElementFacade, net.thucydides.core.pages.WebElementState, net.thucydides.core.webdriver.ConfigurableTimeouts, org.openqa.selenium.interactions.Locatable, org.openqa.selenium.SearchContext, org.openqa.selenium.TakesScreenshot, org.openqa.selenium.WebElement, org.openqa.selenium.WrapsElement

public class TextElementFacadeImpl extends ElementFacadeImpl implements TextElementFacade
  • Field Summary

    Fields inherited from class io.meeds.qa.ui.elements.ElementFacadeImpl

    webElement, xPathOrCSSSelector

    Fields inherited from class net.serenitybdd.core.pages.WebElementFacadeImpl

    NUMBER_OF_TRIES_FOR_UNREADY_ELEMENTS
  • Constructor Summary

    Constructors
    Constructor
    Description
    TextElementFacadeImpl(org.openqa.selenium.WebDriver driver, org.openqa.selenium.support.pagefactory.ElementLocator locator, String xPathOrCSSSelector, org.openqa.selenium.WebElement element, long timeoutInMilliseconds, long waitForTimeoutInMilliseconds)
     
    TextElementFacadeImpl(org.openqa.selenium.WebDriver driver, org.openqa.selenium.support.pagefactory.ElementLocator locator, org.openqa.selenium.WebElement element, long timeoutInMilliseconds, long waitForTimeoutInMilliseconds)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
     
    void
    sendValueWithKeys(boolean clear, org.openqa.selenium.Keys keys, CharSequence... value)
     
    void
    sendValueWithKeysOnElement(org.openqa.selenium.WebElement element, boolean clear, org.openqa.selenium.Keys keys, CharSequence... value)
     
    void
     
    void
    setTextValue(String value, org.openqa.selenium.Keys keys)
     
    wrapWebElementFacadeInTextElement(org.openqa.selenium.WebDriver driver, net.serenitybdd.core.pages.WebElementFacade element, org.openqa.selenium.support.pagefactory.ElementLocator locator, String xPathOrCSSSelector, long implicitTimeoutInMilliseconds, long waitForTimeoutInMilliseconds)
     

    Methods inherited from class net.serenitybdd.core.pages.WebElementFacadeImpl

    and, clear, click, containsElements, containsElements, containsOnlyText, containsSelectOption, containsText, containsValue, contextClick, deselect, deselectAll, deselectByIndex, deselectByValue, deselectByVisibleText, doubleClick, driverIsDisabled, expect, expectingErrorMessage, find, findBy, findBy, findBy, findElement, findElements, findNestedElementsMatching, foundBy, fromWebElements, getAccessibleName, getAriaRole, getAttribute, getClock, getCoordinates, getCssValue, getCurrentImplicitTimeout, getDomAttribute, getDomProperty, getErrorMessage, getFirstSelectedOptionValue, getFirstSelectedOptionVisibleText, getFoundBy, getImplicitTimeout, getImplicitTimeoutInMilliseconds, getJavascriptExecutorFacade, getLocation, getLocator, getRect, getScreenshotAs, getSelectedValue, getSelectedValues, getSelectedVisibleTexts, getSelectedVisibleTextValue, getSelectOptions, getSelectOptionValues, getShadowRoot, getSize, getTagName, getText, getTextContent, getTextValue, getValue, getWrappedElement, hasClass, hasFocus, isSelected, notifyScreenChange, resetTimeouts, select, selectByIndex, selectByValue, selectByVisibleText, setImplicitTimeout, setWindowFocus, shouldBeCurrentlyVisible, shouldBeEnabled, shouldBePresent, shouldBeSelected, shouldBeVisible, shouldContainElements, shouldContainElements, shouldContainOnlyText, shouldContainSelectedOption, shouldContainText, shouldNotBeCurrentlyVisible, shouldNotBeEnabled, shouldNotBePresent, shouldNotBeSelected, shouldNotBeVisible, shouldNotContainText, submit, then, then, then, then, thenFind, thenFind, thenFindAll, thenFindAll, thenFindAll, timeoutInMilliseconds, toString, type, typeAndEnter, typeAndTab, waitForCondition, waitUntilDisabled, waitUntilElementAvailable, waitUntilElementPresent, waitUntilEnabled, waitUntilPresent, withTimeoutOf, withTimeoutOf, withTimeoutOf, wrapWebElement, 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 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, getAccessibleName, getAriaRole, getCssValue, getDomAttribute, getDomProperty, getLocation, getRect, getShadowRoot, getSize, getTagName, isDisplayed, isEnabled, isSelected, submit

    Methods inherited from interface net.serenitybdd.core.pages.WebElementFacade

    and, clear, click, containsElements, containsElements, contextClick, deselect, deselectAll, deselectByIndex, deselectByValue, deselectByVisibleText, doubleClick, find, findBy, findBy, findBy, findNestedElementsMatching, getAttribute, getElement, getFirstSelectedOptionValue, getFirstSelectedOptionVisibleText, getImplicitTimeoutInMilliseconds, getSelectedValues, getSelectedVisibleTexts, getSelectOptions, getSelectOptionValues, 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, isEnabled, isPresent, isSelected, isVisible, shouldBeCurrentlyVisible, shouldBeEnabled, shouldBePresent, shouldBeSelected, shouldBeVisible, shouldContainOnlyText, shouldContainSelectedOption, shouldContainText, shouldNotBeCurrentlyVisible, shouldNotBeEnabled, shouldNotBePresent, shouldNotBeSelected, shouldNotBeVisible, shouldNotContainText

    Methods inherited from interface org.openqa.selenium.WrapsElement

    getWrappedElement
  • Constructor Details

    • TextElementFacadeImpl

      public TextElementFacadeImpl(org.openqa.selenium.WebDriver driver, org.openqa.selenium.support.pagefactory.ElementLocator locator, String xPathOrCSSSelector, org.openqa.selenium.WebElement element, long timeoutInMilliseconds, long waitForTimeoutInMilliseconds)
    • TextElementFacadeImpl

      public TextElementFacadeImpl(org.openqa.selenium.WebDriver driver, org.openqa.selenium.support.pagefactory.ElementLocator locator, org.openqa.selenium.WebElement element, long timeoutInMilliseconds, long waitForTimeoutInMilliseconds)
  • Method Details

    • wrapWebElementFacadeInTextElement

      public static TextElementFacadeImpl wrapWebElementFacadeInTextElement(org.openqa.selenium.WebDriver driver, net.serenitybdd.core.pages.WebElementFacade element, org.openqa.selenium.support.pagefactory.ElementLocator locator, String xPathOrCSSSelector, long implicitTimeoutInMilliseconds, long waitForTimeoutInMilliseconds)
    • getContent

      public String getContent()
      Specified by:
      getContent in interface TextElementFacade
    • sendKeys

      public void sendKeys(CharSequence... value)
      Specified by:
      sendKeys in interface org.openqa.selenium.WebElement
      Overrides:
      sendKeys in class net.serenitybdd.core.pages.WebElementFacadeImpl
    • sendValueWithKeys

      public void sendValueWithKeys(boolean clear, org.openqa.selenium.Keys keys, CharSequence... value)
    • sendValueWithKeysOnElement

      public void sendValueWithKeysOnElement(org.openqa.selenium.WebElement element, boolean clear, org.openqa.selenium.Keys keys, CharSequence... value)
    • setTextValue

      public void setTextValue(String value)
    • setTextValue

      public void setTextValue(String value, org.openqa.selenium.Keys keys)