mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-16 11:37:36 +02:00
162dd07346
* 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
10 lines
214 B
Plaintext
10 lines
214 B
Plaintext
LET origin = "https://github.com/"
|
|
LET target = "https://github.com/features"
|
|
LET doc = DOCUMENT(origin, { driver: "cdp" })
|
|
|
|
NAVIGATE(doc, target)
|
|
NAVIGATE_BACK(doc)
|
|
NAVIGATE_FORWARD(doc)
|
|
|
|
RETURN doc.url == target
|