1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-14 11:23:02 +02:00
ferret/examples/navigate.fql
2018-10-15 21:56:07 -04:00

11 lines
286 B
Plaintext

LET doc = DOCUMENT("https://github.com/", true)
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
RETURN mainTxt != featuresTxt