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

     1  LET url = @lab.cdn.dynamic + "?redirect=/forms"
     2  LET doc = DOCUMENT(url, true)
     3  
     4  WAIT_ELEMENT(doc, "form")
     5  
     6  LET form = ELEMENT(doc, "#page-form")
     7  
     8  INPUT(form, X('//*[@id="text_input"]'), "foo", 100)
     9  
    10  LET output = ELEMENT(doc, "#text_output")
    11  
    12  RETURN T::EQ(output.innerText, "foo")