github.com/MontFerret/ferret@v0.18.0/e2e/tests/dynamic/doc/wait/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, "url", "/\?redirect=/iframe$")) 4 5 INPUT(original, "#url_input", "https://getbootstrap.com/") 6 7 CLICK(original, "#submit") 8 9 WAITFOR EVENT "navigation" IN page 10 FILTER original == current.frame 11 TIMEOUT 10000 12 13 LET current = FIRST(FRAMES(page, "name", "nested")) 14 15 RETURN T::EQ(current.URL, "https://getbootstrap.com/")