public class HyperLink extends InteractiveElement implements IHyperLink
Element.HIGHLIGHT_MODES| Constructor and Description |
|---|
HyperLink(org.openqa.selenium.By locator) |
HyperLink(String locator) |
| Modifier and Type | Method and Description |
|---|---|
String |
getHref()
Implementing this method would allow for getting the href of the
HyperLink
|
String |
getValue()
Throw Unsupported Operation exception if getValue() on Interactive element is invoked
|
click, clickAndHold, doubleClick, dragAndDrop, dragAndDropByOffset, getLabel, isEnabled, keyDown, keyUp, mouseMove, mouseMoveOut, mouseOver, releaseClickAndHold, rightClick, sendKeys, type, typeAppendeval, findElement, fireEvent, focusOn, getAttribute, getByLocator, getChildNodesValuesText, getCssValue, getGUIDriver, getInnerHTML, getLocationX, getLocationY, getLocator, getText, getWebElement, hasText, highlight, highlight, highlight, isAttributePresent, isElementNotPresent, isElementNotPresent, isElementPresent, isElementPresent, isElementPresent, isElementVisible, isElementVisible, isWithinBoundsOfWindow, scrollTo, setGUIDriver, waitForAttribute, waitForAttribute, waitForAttributeEqualTo, waitForAttributeEqualTo, waitForAttributeNotEqualTo, waitForAttributeNotEqualTo, waitForCommand, waitForElementNotPresent, waitForElementNotPresent, waitForElementPresent, waitForElementPresent, waitForEnabled, waitForEnabled, waitForNotAttribute, waitForNotAttribute, waitForNotVisible, waitForNotVisible, waitForText, waitForText, waitForVisible, waitForVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclick, clickAndHold, doubleClick, dragAndDrop, dragAndDropByOffset, isEnabled, keyDown, keyUp, mouseMove, mouseMoveOut, mouseOver, releaseClickAndHold, rightClick, sendKeys, type, typeAppendgetLabeleval, fireEvent, focusOn, getAttribute, getByLocator, getChildNodesValuesText, getCssValue, getInnerHTML, getLocationX, getLocationY, getLocator, getText, getWebElement, hasText, highlight, highlight, isAttributePresent, isElementNotPresent, isElementNotPresent, isElementPresent, isElementPresent, isElementPresent, isElementVisible, isElementVisible, isWithinBoundsOfWindow, scrollTo, waitForAttribute, waitForAttribute, waitForAttributeEqualTo, waitForAttributeEqualTo, waitForAttributeNotEqualTo, waitForAttributeNotEqualTo, waitForElementNotPresent, waitForElementNotPresent, waitForElementPresent, waitForElementPresent, waitForEnabled, waitForEnabled, waitForNotAttribute, waitForNotAttribute, waitForNotVisible, waitForNotVisible, waitForText, waitForText, waitForVisible, waitForVisiblepublic HyperLink(String locator)
public HyperLink(org.openqa.selenium.By locator)
locator - public String getHref() throws WidgetException
IHyperLinkgetHref in interface IHyperLinkWidgetExceptionpublic String getValue() throws WidgetException
InteractiveElementgetValue in interface IReadableElementgetValue in class InteractiveElementWidgetExceptionCopyright © 2018. All rights reserved.