public class ImageElement extends HtmlElement
driver, element, logger, webUXDriver
Constructor and Description |
---|
ImageElement(String label,
org.openqa.selenium.By by) |
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Returns the 'height' property of the underlying WebElement's Dimension.
|
String |
getUrl() |
int |
getWidth()
Returns the 'width' property of the underlying WebElement's Dimension.
|
captureSnapshot, captureSnapshot, check, click, clickAt, clickAt, findElement, getAllElements, getAttribute, getBy, getCssValue, getDriver, getElement, getEval, getLabel, getLocation, getLocator, getSize, getTagName, getText, getValue, init, isDisplayed, isElementPresent, isEnabled, isSelected, isTextPresent, mouseDown, mouseOver, mouseUp, sendKeys, simulateClick, simulateMouseOver, simulateMoveToElement, sleep, toHTML, toString, waitForPresent, waitForPresent
public ImageElement(String label, org.openqa.selenium.By by)
public int getHeight()
HtmlElement
getHeight
in class HtmlElement
public int getWidth()
HtmlElement
getWidth
in class HtmlElement
public String getUrl()
Copyright © 2018. All rights reserved.