github.com/MontFerret/ferret@v0.18.0/e2e/tests/dynamic/doc/waitfor_event/frame_navigation.fql (about)

     1  LET url = @lab.cdn.dynamic + "?redirect=/iframe&src=/iframe"
     2  LET page = DOCUMENT(url, { driver: 'cdp' })
     3  LET original = FIRST(FRAMES(page, "name", "nested"))
     4  
     5  INPUT(original, "#url_input", "https://getbootstrap.com/")
     6  CLICK(original, "#submit")
     7  
     8  WAITFOR EVENT "navigation" IN page OPTIONS { frame: original }
     9  
    10  LET current = FIRST(FRAMES(page, "name", "nested"))
    11  
    12  RETURN T::EQ(current.URL, "https://getbootstrap.com/")