Package dev.comfast.cf
Class CfAbstractLocator
java.lang.Object
dev.comfast.cf.CfAbstractLocator
- All Implemented Interfaces:
CfLocator
- Direct Known Subclasses:
SeleniumLocator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected <T> TDoes an action, wraps it into: - Event: can set Before and After listeners to it - Waiter - action will be repeated in case of failvar someText = action(() -> grabSomeText(1), "grab some text", 1)protected booleanbooleangetText()getValue()booleaninthashCode()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface dev.comfast.cf.CfLocator
$, clear, click, count, dragTo, executeJs, exists, focus, getAttribute, getCssValue, getTagName, hover, isDisplayed, map, nth, setChecked, setValue, tap, type
-
Field Details
-
chain
-
-
Constructor Details
-
CfAbstractLocator
-
-
Method Details
-
hasClass
-
getText
-
innerHtml
-
outerHtml
-
getValue
-
toString
-
action
Does an action, wraps it into: - Event: can set Before and After listeners to it - Waiter - action will be repeated in case of failvar someText = action(() -> grabSomeText(1), "grab some text", 1)- Parameters:
actionFunction- actionFunctionname- our name of action, e.g. method nameparams- action params, e.g. method params- Returns:
- actionFunction result
-
action
-
equals
-
canEqual
-
hashCode
public int hashCode()
-