mirror of
https://github.com/MontFerret/ferret.git
synced 2025-01-20 03:29:51 +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
239 B
Plaintext
10 lines
239 B
Plaintext
LET url = @lab.cdn.dynamic + "?redirect=/iframe"
|
|
LET page = DOCUMENT(url, { driver: 'cdp', timeout: 5000 })
|
|
|
|
LET frames = (
|
|
FOR frame IN page.frames
|
|
FILTER frame.name == "nested"
|
|
RETURN frame
|
|
)
|
|
|
|
RETURN T::LEN(frames, 1) |