1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-16 11:37:36 +02:00
ferret/examples/click.fql

11 lines
245 B
Plaintext
Raw Normal View History

2019-07-23 20:55:26 +02:00
LET doc = DOCUMENT("https://github.com/", { driver: "cdp" })
2019-08-22 23:51:49 +02:00
HOVER(doc, ".HeaderMenu-details")
CLICK(doc, ".HeaderMenu a")
2018-09-25 23:58:57 +02:00
WAIT_NAVIGATION(doc)
WAIT_ELEMENT(doc, '.IconNav')
FOR el IN ELEMENTS(doc, '.IconNav a')
2019-08-22 23:51:49 +02:00
RETURN TRIM(el.innerText)