public class EyesRemoteWebElement
extends org.openqa.selenium.remote.RemoteWebElement
| Constructor and Description |
|---|
EyesRemoteWebElement(Logger logger,
EyesWebDriver eyesDriver,
org.openqa.selenium.WebElement webElement) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
click() |
boolean |
equals(Object obj) |
org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.By by) |
org.openqa.selenium.WebElement |
findElementByClassName(String using) |
org.openqa.selenium.WebElement |
findElementByCssSelector(String using) |
org.openqa.selenium.WebElement |
findElementById(String using) |
org.openqa.selenium.WebElement |
findElementByLinkText(String using) |
org.openqa.selenium.WebElement |
findElementByName(String using) |
org.openqa.selenium.WebElement |
findElementByPartialLinkText(String using) |
org.openqa.selenium.WebElement |
findElementByTagName(String using) |
org.openqa.selenium.WebElement |
findElementByXPath(String using) |
List<org.openqa.selenium.WebElement> |
findElements(org.openqa.selenium.By by) |
List<org.openqa.selenium.WebElement> |
findElementsByClassName(String using) |
List<org.openqa.selenium.WebElement> |
findElementsByCssSelector(String using) |
List<org.openqa.selenium.WebElement> |
findElementsById(String using) |
List<org.openqa.selenium.WebElement> |
findElementsByLinkText(String using) |
List<org.openqa.selenium.WebElement> |
findElementsByName(String using) |
List<org.openqa.selenium.WebElement> |
findElementsByPartialLinkText(String using) |
List<org.openqa.selenium.WebElement> |
findElementsByTagName(String using) |
List<org.openqa.selenium.WebElement> |
findElementsByXPath(String using) |
String |
getAttribute(String name) |
int |
getBorderBottomWidth() |
int |
getBorderLeftWidth() |
int |
getBorderRightWidth() |
int |
getBorderTopWidth() |
org.openqa.selenium.Rectangle |
getBoundingClientRect() |
Region |
getBounds() |
int |
getClientHeight() |
RectangleSize |
getClientSize() |
int |
getClientWidth() |
String |
getComputedStyle(String propStyle)
Returns the computed value of the style property for the current
element.
|
int |
getComputedStyleInteger(String propStyle) |
org.openqa.selenium.interactions.Coordinates |
getCoordinates() |
String |
getCssValue(String propertyName) |
org.openqa.selenium.Point |
getLocation() |
String |
getOverflow() |
PositionProvider |
getPositionProvider() |
int |
getScrollHeight() |
int |
getScrollLeft() |
int |
getScrollTop() |
int |
getScrollWidth() |
org.openqa.selenium.Dimension |
getSize() |
SizeAndBorders |
getSizeAndBorders() |
String |
getTagName() |
String |
getText() |
org.openqa.selenium.WebDriver |
getWrappedDriver() |
int |
hashCode() |
boolean |
isDisplayed() |
boolean |
isEnabled() |
boolean |
isSelected() |
Location |
scrollTo(Location location)
Scrolls to the specified location inside the element.
|
void |
sendKeys(CharSequence... keysToSend) |
void |
setFileDetector(org.openqa.selenium.remote.FileDetector detector) |
void |
setOverflow(String overflow)
Sets the overflow of the element.
|
void |
setPositionProvider(PositionProvider positionProvider) |
void |
submit() |
String |
toString() |
public EyesRemoteWebElement(Logger logger, EyesWebDriver eyesDriver, org.openqa.selenium.WebElement webElement)
public Region getBounds()
public String getComputedStyle(String propStyle)
propStyle - The style property which value we would like to
extract.null.public int getComputedStyleInteger(String propStyle)
public int getScrollLeft()
public int getScrollTop()
public int getScrollWidth()
public int getScrollHeight()
public int getClientWidth()
public int getClientHeight()
public int getBorderLeftWidth()
public int getBorderRightWidth()
public int getBorderTopWidth()
public int getBorderBottomWidth()
public Location scrollTo(Location location)
location - The location to scroll to.public String getOverflow()
public void setOverflow(String overflow)
overflow - The overflow to set.public void click()
click in interface org.openqa.selenium.WebElementclick in class org.openqa.selenium.remote.RemoteWebElementpublic org.openqa.selenium.WebDriver getWrappedDriver()
getWrappedDriver in interface org.openqa.selenium.WrapsDrivergetWrappedDriver in class org.openqa.selenium.remote.RemoteWebElementpublic void setFileDetector(org.openqa.selenium.remote.FileDetector detector)
setFileDetector in class org.openqa.selenium.remote.RemoteWebElementpublic void submit()
submit in interface org.openqa.selenium.WebElementsubmit in class org.openqa.selenium.remote.RemoteWebElementpublic void sendKeys(CharSequence... keysToSend)
sendKeys in interface org.openqa.selenium.WebElementsendKeys in class org.openqa.selenium.remote.RemoteWebElementpublic void clear()
clear in interface org.openqa.selenium.WebElementclear in class org.openqa.selenium.remote.RemoteWebElementpublic String getTagName()
getTagName in interface org.openqa.selenium.WebElementgetTagName in class org.openqa.selenium.remote.RemoteWebElementpublic String getAttribute(String name)
getAttribute in interface org.openqa.selenium.WebElementgetAttribute in class org.openqa.selenium.remote.RemoteWebElementpublic boolean isSelected()
isSelected in interface org.openqa.selenium.WebElementisSelected in class org.openqa.selenium.remote.RemoteWebElementpublic boolean isEnabled()
isEnabled in interface org.openqa.selenium.WebElementisEnabled in class org.openqa.selenium.remote.RemoteWebElementpublic String getText()
getText in interface org.openqa.selenium.WebElementgetText in class org.openqa.selenium.remote.RemoteWebElementpublic String getCssValue(String propertyName)
getCssValue in interface org.openqa.selenium.WebElementgetCssValue in class org.openqa.selenium.remote.RemoteWebElementpublic List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By by)
findElements in interface org.openqa.selenium.SearchContextfindElements in interface org.openqa.selenium.WebElementfindElements in class org.openqa.selenium.remote.RemoteWebElementpublic org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by)
findElement in interface org.openqa.selenium.SearchContextfindElement in interface org.openqa.selenium.WebElementfindElement in class org.openqa.selenium.remote.RemoteWebElementpublic org.openqa.selenium.WebElement findElementById(String using)
findElementById in interface org.openqa.selenium.internal.FindsByIdfindElementById in class org.openqa.selenium.remote.RemoteWebElementpublic List<org.openqa.selenium.WebElement> findElementsById(String using)
findElementsById in interface org.openqa.selenium.internal.FindsByIdfindElementsById in class org.openqa.selenium.remote.RemoteWebElementpublic org.openqa.selenium.WebElement findElementByLinkText(String using)
findElementByLinkText in interface org.openqa.selenium.internal.FindsByLinkTextfindElementByLinkText in class org.openqa.selenium.remote.RemoteWebElementpublic List<org.openqa.selenium.WebElement> findElementsByLinkText(String using)
findElementsByLinkText in interface org.openqa.selenium.internal.FindsByLinkTextfindElementsByLinkText in class org.openqa.selenium.remote.RemoteWebElementpublic org.openqa.selenium.WebElement findElementByName(String using)
findElementByName in interface org.openqa.selenium.internal.FindsByNamefindElementByName in class org.openqa.selenium.remote.RemoteWebElementpublic List<org.openqa.selenium.WebElement> findElementsByName(String using)
findElementsByName in interface org.openqa.selenium.internal.FindsByNamefindElementsByName in class org.openqa.selenium.remote.RemoteWebElementpublic org.openqa.selenium.WebElement findElementByClassName(String using)
findElementByClassName in interface org.openqa.selenium.internal.FindsByClassNamefindElementByClassName in class org.openqa.selenium.remote.RemoteWebElementpublic List<org.openqa.selenium.WebElement> findElementsByClassName(String using)
findElementsByClassName in interface org.openqa.selenium.internal.FindsByClassNamefindElementsByClassName in class org.openqa.selenium.remote.RemoteWebElementpublic org.openqa.selenium.WebElement findElementByCssSelector(String using)
findElementByCssSelector in interface org.openqa.selenium.internal.FindsByCssSelectorfindElementByCssSelector in class org.openqa.selenium.remote.RemoteWebElementpublic List<org.openqa.selenium.WebElement> findElementsByCssSelector(String using)
findElementsByCssSelector in interface org.openqa.selenium.internal.FindsByCssSelectorfindElementsByCssSelector in class org.openqa.selenium.remote.RemoteWebElementpublic org.openqa.selenium.WebElement findElementByXPath(String using)
findElementByXPath in interface org.openqa.selenium.internal.FindsByXPathfindElementByXPath in class org.openqa.selenium.remote.RemoteWebElementpublic List<org.openqa.selenium.WebElement> findElementsByXPath(String using)
findElementsByXPath in interface org.openqa.selenium.internal.FindsByXPathfindElementsByXPath in class org.openqa.selenium.remote.RemoteWebElementpublic org.openqa.selenium.WebElement findElementByPartialLinkText(String using)
findElementByPartialLinkText in interface org.openqa.selenium.internal.FindsByLinkTextfindElementByPartialLinkText in class org.openqa.selenium.remote.RemoteWebElementpublic List<org.openqa.selenium.WebElement> findElementsByPartialLinkText(String using)
findElementsByPartialLinkText in interface org.openqa.selenium.internal.FindsByLinkTextfindElementsByPartialLinkText in class org.openqa.selenium.remote.RemoteWebElementpublic org.openqa.selenium.WebElement findElementByTagName(String using)
findElementByTagName in interface org.openqa.selenium.internal.FindsByTagNamefindElementByTagName in class org.openqa.selenium.remote.RemoteWebElementpublic List<org.openqa.selenium.WebElement> findElementsByTagName(String using)
findElementsByTagName in interface org.openqa.selenium.internal.FindsByTagNamefindElementsByTagName in class org.openqa.selenium.remote.RemoteWebElementpublic boolean equals(Object obj)
equals in class org.openqa.selenium.remote.RemoteWebElementpublic int hashCode()
hashCode in class org.openqa.selenium.remote.RemoteWebElementpublic boolean isDisplayed()
isDisplayed in interface org.openqa.selenium.WebElementisDisplayed in class org.openqa.selenium.remote.RemoteWebElementpublic org.openqa.selenium.Point getLocation()
getLocation in interface org.openqa.selenium.WebElementgetLocation in class org.openqa.selenium.remote.RemoteWebElementpublic org.openqa.selenium.Dimension getSize()
getSize in interface org.openqa.selenium.WebElementgetSize in class org.openqa.selenium.remote.RemoteWebElementpublic RectangleSize getClientSize()
public org.openqa.selenium.interactions.Coordinates getCoordinates()
getCoordinates in interface org.openqa.selenium.interactions.LocatablegetCoordinates in class org.openqa.selenium.remote.RemoteWebElementpublic String toString()
toString in class org.openqa.selenium.remote.RemoteWebElementpublic PositionProvider getPositionProvider()
public void setPositionProvider(PositionProvider positionProvider)
public SizeAndBorders getSizeAndBorders()
public org.openqa.selenium.Rectangle getBoundingClientRect()
Copyright © 2019. All rights reserved.