1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-06-19 00:18:00 +02:00
Files
ferret/docs/examples/navigate.fql

13 lines
320 B
Plaintext
Raw Normal View History

2018-09-25 19:04:07 -04:00
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
2018-10-04 21:37:28 -04:00
LOG("featuresTxt:", featuresTxt)
2018-09-25 19:04:07 -04:00
RETURN mainTxt == featuresTxt