Base Element
Method |
Description |
Result |
getWebElement() |
Returns Selenium webElement for this Element |
WebElement |
waitAttribute(String, String) |
Waits while attribute gets expected value. Return false if this not happens |
Boolean |
setAttribute(String, String) |
Sets attribute value for element |
|
waitDisplayed() |
Waits while element becomes visible |
Boolean |
waitVanished() |
Waits while element becomes invisible |
Boolean |
wait(JFuncTT<WebElement, Boolean>) |
Waits while condition with happens WebElement and returns wait result |
Boolean |
wait(JFuncTT<WebElement, TResult>, JFuncTT<TResult, Boolean>) |
Waits while condition with WebElement happens and returns result using resultFunc |
TResult |
wait(JFuncTT<WebElement, Boolean>, int) |
Waits while condition with WebElement happens during specified timeout and returns wait result |
Boolean |
wait(JFuncTT<WebElement, TResult>, JFuncTT<TResult, Boolean>, int) |
Waits while condition with WebElement happens during specified timeout and returns result using resultFunc |
TResult |
getDriver() |
Get WebDriver associated with element |
WebDriver |
getLocator() |
Get Element’s locator |
By |
getName() |
Get Element’s name |
String |
HasValue
Method |
Description |
Result |
getValue() |
Get value of element |
String |
SetValue
Method |
Description |
Result |
setValue(String) |
Set value to element |
|
