1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-16 11:37:36 +02:00
ferret/examples/navigate_back.fql
Tim Voronov 162dd07346
Feature/425 iframe navigation (#535)
* Updated navigation logic

* Fixed goroutine deadlock

* Fixed closing chan

* Added support of waiting for individual frame navigation

* Updated EventLoop API in order to avoid double closing of event sources

* Fixed attr retrieval

* Removed redundant println

* Updated DOM Readiness check
2020-07-13 14:13:03 -04:00

8 lines
179 B
Plaintext

LET origin = "https://github.com/"
LET doc = DOCUMENT(origin, { driver: "cdp" })
NAVIGATE(doc, "https://github.com/features", 10000)
NAVIGATE_BACK(doc)
RETURN doc.url == origin