private class EventFiringWebDriver.EventFiringWebElement
extends java.lang.Object
implements org.openqa.selenium.WebElement, org.openqa.selenium.internal.WrapsElement, org.openqa.selenium.internal.WrapsDriver, org.openqa.selenium.internal.Locatable
Modifier and Type | Field and Description |
---|---|
private org.openqa.selenium.WebElement |
element |
private org.openqa.selenium.WebElement |
underlyingElement |
Modifier | Constructor and Description |
---|---|
private |
EventFiringWebElement(org.openqa.selenium.WebElement element) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
click() |
boolean |
equals(java.lang.Object obj) |
org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.By by) |
java.util.List<org.openqa.selenium.WebElement> |
findElements(org.openqa.selenium.By by) |
java.lang.String |
getAttribute(java.lang.String name) |
org.openqa.selenium.interactions.internal.Coordinates |
getCoordinates() |
java.lang.String |
getCssValue(java.lang.String propertyName) |
org.openqa.selenium.Point |
getLocation() |
org.openqa.selenium.Rectangle |
getRect() |
<X> X |
getScreenshotAs(org.openqa.selenium.OutputType<X> outputType) |
org.openqa.selenium.Dimension |
getSize() |
java.lang.String |
getTagName() |
java.lang.String |
getText() |
org.openqa.selenium.WebDriver |
getWrappedDriver() |
org.openqa.selenium.WebElement |
getWrappedElement() |
int |
hashCode() |
boolean |
isDisplayed() |
boolean |
isEnabled() |
boolean |
isSelected() |
void |
sendKeys(java.lang.CharSequence... keysToSend) |
void |
submit() |
java.lang.String |
toString() |
private final org.openqa.selenium.WebElement element
private final org.openqa.selenium.WebElement underlyingElement
private EventFiringWebElement(org.openqa.selenium.WebElement element)
public void click()
click
in interface org.openqa.selenium.WebElement
public void submit()
submit
in interface org.openqa.selenium.WebElement
public void sendKeys(java.lang.CharSequence... keysToSend)
sendKeys
in interface org.openqa.selenium.WebElement
public void clear()
clear
in interface org.openqa.selenium.WebElement
public java.lang.String getTagName()
getTagName
in interface org.openqa.selenium.WebElement
public java.lang.String getAttribute(java.lang.String name)
getAttribute
in interface org.openqa.selenium.WebElement
public boolean isSelected()
isSelected
in interface org.openqa.selenium.WebElement
public boolean isEnabled()
isEnabled
in interface org.openqa.selenium.WebElement
public java.lang.String getText()
getText
in interface org.openqa.selenium.WebElement
public boolean isDisplayed()
isDisplayed
in interface org.openqa.selenium.WebElement
public org.openqa.selenium.Point getLocation()
getLocation
in interface org.openqa.selenium.WebElement
public org.openqa.selenium.Dimension getSize()
getSize
in interface org.openqa.selenium.WebElement
public org.openqa.selenium.Rectangle getRect()
getRect
in interface org.openqa.selenium.WebElement
public java.lang.String getCssValue(java.lang.String propertyName)
getCssValue
in interface org.openqa.selenium.WebElement
public org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by)
findElement
in interface org.openqa.selenium.SearchContext
findElement
in interface org.openqa.selenium.WebElement
public java.util.List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By by)
findElements
in interface org.openqa.selenium.SearchContext
findElements
in interface org.openqa.selenium.WebElement
public org.openqa.selenium.WebElement getWrappedElement()
getWrappedElement
in interface org.openqa.selenium.internal.WrapsElement
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public org.openqa.selenium.WebDriver getWrappedDriver()
getWrappedDriver
in interface org.openqa.selenium.internal.WrapsDriver
public org.openqa.selenium.interactions.internal.Coordinates getCoordinates()
getCoordinates
in interface org.openqa.selenium.internal.Locatable
public <X> X getScreenshotAs(org.openqa.selenium.OutputType<X> outputType) throws org.openqa.selenium.WebDriverException
getScreenshotAs
in interface org.openqa.selenium.TakesScreenshot
org.openqa.selenium.WebDriverException