public class LinkImpl extends ElementImpl implements Link
| Constructor and Description |
|---|
LinkImpl(UniqueElementLocator elementLocator) |
| Modifier and Type | Method and Description |
|---|---|
void |
click()
Click the link and wait till this button is removed from current DOM.
|
java.lang.String |
getLabel()
Return the label of the link.
|
java.lang.String |
getLinkUrl()
Get the url of the link.
|
clear, elementWired, findElement, findElements, getAttribute, getCoordinates, getCssValue, getLocation, getRect, getScreenshotAs, getSize, getTagName, getText, getWrappedElement, isDisplayed, isEnabled, isSelected, sendKeys, submitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitelementWiredpublic LinkImpl(UniqueElementLocator elementLocator)
elementLocator - public java.lang.String getLabel()
public java.lang.String getLinkUrl()
getLinkUrl in interface Linkpublic void click()
Linkclick in interface org.openqa.selenium.WebElementclick in interface Linkclick in class ElementImplCopyright © 2017 PPI AG. All rights reserved.