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, uncheck, waitForPresent, waitForPresentpublic ImageElement(String label, org.openqa.selenium.By by)
public int getHeight()
HtmlElementgetHeight in class HtmlElementpublic int getWidth()
HtmlElementgetWidth in class HtmlElementpublic String getUrl()
Copyright © 2021. All rights reserved.