1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-04-15 11:56:42 +02:00
ferret/examples/navigate.fql

11 lines
299 B
Plaintext
Raw Normal View History

2019-07-23 14:55:26 -04:00
LET doc = DOCUMENT("https://github.com/", { driver: "cdp" })
2018-09-25 19:04:07 -04:00
LET main = ELEMENT(doc, '.application-main')
LET mainTxt = main.innerText
NAVIGATE(doc, "https://github.com/features")
LET features = ELEMENT(doc, '.application-main')
LET featuresTxt = features.innerText
2018-10-15 21:56:07 -04:00
RETURN mainTxt != featuresTxt