1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-08-15 20:02:56 +02:00

Update click.fql

This commit is contained in:
Tim Voronov
2019-08-22 17:51:49 -04:00
committed by GitHub
parent f87fe1e669
commit 602dc0d93d

View File

@@ -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)