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

13 lines
320 B
Plaintext
Raw Normal View History

2018-09-26 01:04:07 +02: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-05 03:37:28 +02:00
LOG("featuresTxt:", featuresTxt)
2018-09-26 01:04:07 +02:00
RETURN mainTxt == featuresTxt