FinderAction
This class provides action methods for Finder. This class is Mixined to "Finder" class
Static Member Summary
Static Public Members | ||
public static get |
click: * |
|
public static get |
count: * |
|
public static get |
text: * |
|
public static get |
value: * |
Static Method Summary
Static Public Methods | ||
public static |
|
|
public static |
setChecked(bool: *): string |
|
public static |
setSelected(bool: *): string |
|
public static |
|
|
public static |
|
Method Summary
Public Methods | ||
public |
Get a attribute of element which is found first by Finder. |
|
public |
Set "checked" property true on all elements which is found by Finder |
|
public |
Alias of "click" |
|
public |
Click an element which is found first by Finder |
|
public |
Get a count of elements which is found by Finder. |
|
public |
|
|
public |
fillIn(val: *): * Alias of "setValue" |
|
public |
|
|
public |
Set "selected" property true on element which is found by Finder |
|
public |
Set given text to textContent of all elements which is found by Finder |
|
public |
Set given value to value of all elements which is found by Finder |
|
public |
text(): * |
|
public |
Set "checked" property true on all elements which is found by Finder |
|
public |
Get a value of element which is found first by Finder. |
Static Public Members
public static get click: * source
public static get count: * source
public static get text: * source
public static get value: * source
Static Public Methods
Public Methods
public attribute(attrName: *): Promise source
Get a attribute of element which is found first by Finder.
Params:
Name | Type | Attribute | Description |
attrName | * |
public fillIn(val: *): * source
Alias of "setValue"
Params:
Name | Type | Attribute | Description |
val | * |
Return:
* |
public setText(text: *): Promise source
Set given text to textContent of all elements which is found by Finder
Params:
Name | Type | Attribute | Description |
text | * |
public setValue(val: *): Promise source
Set given value to value of all elements which is found by Finder
Params:
Name | Type | Attribute | Description |
val | * |