1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-14 11:23:02 +02:00
ferret/pkg/stdlib/html/lib.go
2018-09-27 22:03:35 -04:00

23 lines
601 B
Go

package html
import "github.com/MontFerret/ferret/pkg/runtime/core"
func NewLib() map[string]core.Function {
return map[string]core.Function{
"DOCUMENT": Document,
"DOCUMENT_PARSE": DocumentParse,
"ELEMENT": Element,
"ELEMENTS": Elements,
"WAIT_ELEMENT": WaitElement,
"WAIT_NAVIGATION": WaitNavigation,
"CLICK": Click,
"CLICK_ALL": ClickAll,
"NAVIGATE": Navigate,
"INPUT": Input,
"INNER_HTML": InnerHtml,
"INNER_HTML_ALL": InnerHtmlAll,
"INNER_TEXT": InnerText,
"INNER_TEXT_ALL": InnerTextAll,
}
}