1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-12 11:15:14 +02:00
ferret/examples/navigate_forward_2.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

10 lines
300 B
Plaintext

LET doc = DOCUMENT("https://github.com/", { driver: "cdp" })
NAVIGATE(doc, "https://github.com/features")
NAVIGATE(doc, "https://github.com/enterprise")
NAVIGATE(doc, "https://github.com/marketplace")
NAVIGATE_BACK(doc, 3)
NAVIGATE_FORWARD(doc, 2)
RETURN doc.url == "https://github.com/enterprise"