1
0
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:
Tim Voronov 2019-08-22 17:51:49 -04:00 committed by GitHub
parent f87fe1e669
commit 602dc0d93d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)