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

     1  LET url = @lab.cdn.dynamic + "?redirect=/iframe&src=/forms"
     2  LET page = DOCUMENT(url, true)
     3  
     4  LET frames = (
     5      FOR f IN page.frames
     6          FILTER f.name == "nested"
     7          LIMIT 1
     8          RETURN f
     9  )
    10  LET doc = FIRST(frames)
    11  
    12  WAIT_ELEMENT(doc, "form")
    13  
    14  LET output = ELEMENT(doc, "#text_output")
    15  
    16  INPUT(doc, "#text_input", "foo")
    17  
    18  RETURN T::EQ(output.innerText, "foo")