1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-11-06 08:39:09 +02:00

Added missed property in Document getter

This commit is contained in:
Tim Voronov
2019-07-17 18:41:57 -04:00
parent e280005204
commit ddfb7a20e8
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
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))