mirror of
https://github.com/MontFerret/ferret.git
synced 2025-06-23 00:28:10 +02:00
Feature/#250 wait style (#255)
* Added support for parsed styles * Added stdlib function. * Added e2e tests * Added e2e tests for STYLE_* functions
This commit is contained in:
@ -14,6 +14,9 @@ const defaultTimeout = 5000
|
||||
|
||||
func NewLib() map[string]core.Function {
|
||||
return map[string]core.Function{
|
||||
"ATTR_GET": AttributeGet,
|
||||
"ATTR_REMOVE": AttributeRemove,
|
||||
"ATTR_SET": AttributeSet,
|
||||
"CLICK": Click,
|
||||
"CLICK_ALL": ClickAll,
|
||||
"DOCUMENT": Document,
|
||||
@ -40,6 +43,9 @@ func NewLib() map[string]core.Function {
|
||||
"SCROLL_ELEMENT": ScrollInto,
|
||||
"SCROLL_TOP": ScrollTop,
|
||||
"SELECT": Select,
|
||||
"STYLE_GET": StyleGet,
|
||||
"STYLE_REMOVE": StyleRemove,
|
||||
"STYLE_SET": StyleSet,
|
||||
"WAIT_ELEMENT": WaitElement,
|
||||
"WAIT_NO_ELEMENT": WaitNoElement,
|
||||
"WAIT_CLASS": WaitClass,
|
||||
|
Reference in New Issue
Block a user