1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-16 11:37:36 +02:00
ferret/examples/navigate_back_2.fql
Tim Voronov 93d5df5fe7
Feature/#103 navigate back (#107)
* #103 Added NAVIGATE_BACK function

* Commented out debugging test

* Updated implementation
2018-10-12 16:02:53 -04:00

10 lines
255 B
Plaintext

LET origin = "https://github.com/"
LET doc = DOCUMENT(origin, true)
NAVIGATE(doc, "https://github.com/features")
NAVIGATE(doc, "https://github.com/business")
NAVIGATE(doc, "https://github.com/marketplace")
NAVIGATE_BACK(doc, 3)
RETURN doc.url == origin