Class WebElementProxy
- java.lang.Object
-
- de.telekom.test.bddwebapp.frontend.element.WebElementProxy
-
- All Implemented Interfaces:
org.openqa.selenium.SearchContext,org.openqa.selenium.TakesScreenshot,org.openqa.selenium.WebElement
- Direct Known Subclasses:
WebElementEnhanced
public abstract class WebElementProxy extends Object implements org.openqa.selenium.WebElement
-
-
Field Summary
Fields Modifier and Type Field Description protected org.openqa.selenium.WebElementwebElement
-
Constructor Summary
Constructors Constructor Description WebElementProxy()Only for internal useWebElementProxy(org.openqa.selenium.WebElement webElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()org.openqa.selenium.WebElementfindElement(org.openqa.selenium.By by)List<org.openqa.selenium.WebElement>findElements(org.openqa.selenium.By by)StringgetAttribute(String name)StringgetCssValue(String propertyName)org.openqa.selenium.PointgetLocation()org.openqa.selenium.RectanglegetRect()<X> XgetScreenshotAs(org.openqa.selenium.OutputType<X> outputType)org.openqa.selenium.DimensiongetSize()StringgetTagName()StringgetText()org.openqa.selenium.WebElementgetWebElement()booleanisDisplayed()booleanisEnabled()booleanisSelected()voidsendKeys(CharSequence... keysToSend)voidsetWebElement(org.openqa.selenium.WebElement webElement)voidsubmit()
-
-
-
Method Detail
-
getWebElement
public org.openqa.selenium.WebElement getWebElement()
-
setWebElement
public void setWebElement(org.openqa.selenium.WebElement webElement)
-
sendKeys
public void sendKeys(CharSequence... keysToSend)
- Specified by:
sendKeysin interfaceorg.openqa.selenium.WebElement
-
getLocation
public org.openqa.selenium.Point getLocation()
- Specified by:
getLocationin interfaceorg.openqa.selenium.WebElement
-
submit
public void submit()
- Specified by:
submitin interfaceorg.openqa.selenium.WebElement
-
getAttribute
public String getAttribute(String name)
- Specified by:
getAttributein interfaceorg.openqa.selenium.WebElement
-
getCssValue
public String getCssValue(String propertyName)
- Specified by:
getCssValuein interfaceorg.openqa.selenium.WebElement
-
getSize
public org.openqa.selenium.Dimension getSize()
- Specified by:
getSizein interfaceorg.openqa.selenium.WebElement
-
getRect
public org.openqa.selenium.Rectangle getRect()
- Specified by:
getRectin interfaceorg.openqa.selenium.WebElement
-
findElements
public List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By by)
- Specified by:
findElementsin interfaceorg.openqa.selenium.SearchContext- Specified by:
findElementsin interfaceorg.openqa.selenium.WebElement
-
getText
public String getText()
- Specified by:
getTextin interfaceorg.openqa.selenium.WebElement
-
getTagName
public String getTagName()
- Specified by:
getTagNamein interfaceorg.openqa.selenium.WebElement
-
isSelected
public boolean isSelected()
- Specified by:
isSelectedin interfaceorg.openqa.selenium.WebElement
-
findElement
public org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by)
- Specified by:
findElementin interfaceorg.openqa.selenium.SearchContext- Specified by:
findElementin interfaceorg.openqa.selenium.WebElement
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabledin interfaceorg.openqa.selenium.WebElement
-
isDisplayed
public boolean isDisplayed()
- Specified by:
isDisplayedin interfaceorg.openqa.selenium.WebElement
-
clear
public void clear()
- Specified by:
clearin interfaceorg.openqa.selenium.WebElement
-
getScreenshotAs
public <X> X getScreenshotAs(org.openqa.selenium.OutputType<X> outputType) throws org.openqa.selenium.WebDriverException- Specified by:
getScreenshotAsin interfaceorg.openqa.selenium.TakesScreenshot- Throws:
org.openqa.selenium.WebDriverException
-
-