mirror of
https://github.com/MontFerret/ferret.git
synced 2025-01-18 03:22:02 +02:00
Update click.fql
This commit is contained in:
parent
f87fe1e669
commit
602dc0d93d
@ -1,9 +1,10 @@
|
||||
LET doc = DOCUMENT("https://github.com/", { driver: "cdp" })
|
||||
LET btn = ELEMENT(doc, ".HeaderMenu a")
|
||||
|
||||
CLICK(btn)
|
||||
HOVER(doc, ".HeaderMenu-details")
|
||||
CLICK(doc, ".HeaderMenu a")
|
||||
|
||||
WAIT_NAVIGATION(doc)
|
||||
WAIT_ELEMENT(doc, '.IconNav')
|
||||
|
||||
FOR el IN ELEMENTS(doc, '.IconNav a')
|
||||
RETURN TRIM(el.innerText)
|
||||
RETURN TRIM(el.innerText)
|
||||
|
Loading…
Reference in New Issue
Block a user