| Modifier and Type | Method and Description |
|---|---|
void |
click()
Clicks on the item.
|
String |
getAttribute(String attr)
Gets attribute value of the element.
|
default org.openqa.selenium.remote.RemoteWebElement |
getElement()
Gets current element by specified
getLocator()
Default timeout is provided in ITimeoutConfiguration
NoSuchElementException throws if element not found |
org.openqa.selenium.remote.RemoteWebElement |
getElement(Duration timeout)
Gets current element by specified
getLocator()
NoSuchElementException throws if element not found |
org.openqa.selenium.By |
getLocator()
Gets unique locator of element.
|
String |
getName()
Gets unique name of element
|
String |
getText()
Gets the item text (inner text).
|
void |
sendKeys(String keys)
Sends keys
|
IElementStateProvider |
state()
Provides ability to define of element's state (whether it is displayed, exists or not) and respective waiting functions
|
findChildElement, findChildElement, findChildElement, findChildElement, findChildElement, findChildElement, findChildElement, findChildElement, findChildElements, findChildElements, findChildElements, findChildElements, findChildElements, findChildElements, findChildElements, findChildElements, findChildElements, findChildElements, findChildElements, findChildElements, findChildElements, findChildElements, findChildElements, findChildElementsorg.openqa.selenium.By getLocator()
String getName()
IElementStateProvider state()
default org.openqa.selenium.remote.RemoteWebElement getElement()
getLocator()
Default timeout is provided in ITimeoutConfiguration
NoSuchElementException throws if element not foundRemoteWebElement if found.org.openqa.selenium.remote.RemoteWebElement getElement(Duration timeout)
getLocator()
NoSuchElementException throws if element not foundtimeout - Timeout for waitingRemoteWebElement if found.String getText()
String getAttribute(String attr)
attr - Attribute namevoid sendKeys(String keys)
keys - keys for sendingvoid click()
Copyright © 2020. All rights reserved.