1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-16 11:37:36 +02:00
ferret/e2e/tests/dynamic/doc/iframes/lookup.fql
2019-07-17 18:41:57 -04:00

10 lines
224 B
Plaintext

LET url = @dynamic + "?redirect=/iframe"
LET page = DOCUMENT(url, { driver: 'cdp' })
LET frames = (
FOR frame IN page.frames
FILTER frame.name == "nested"
RETURN frame
)
RETURN EXPECT(1, LENGTH(frames))