LET url = @lab.cdn.dynamic + "?redirect=/iframe"
LET page = DOCUMENT(url, { driver: 'cdp' })

LET frames = (
    FOR f IN page.frames
        FILTER f.name == "nested"
        LIMIT 1
        RETURN f
)

LET doc = FIRST(frames)

T::TRUE(ELEMENT_EXISTS(doc, '.text-center'))
T::FALSE(ELEMENT_EXISTS(doc, '.foo-bar'))

RETURN NONE