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

     1  LET url = @lab.cdn.dynamic + "?redirect=/iframe&src=/forms"
     2  LET page = DOCUMENT(url, { driver: 'cdp' })
     3  LET doc = page.frames[1]
     4  
     5  WAIT_ELEMENT(doc, "form")
     6  
     7  LET input = ELEMENT(doc, "#select_input")
     8  LET output = ELEMENT(doc, "#select_output")
     9  LET result = SELECT(input, ["4"])
    10  
    11  T::EQ(output.innerText, "4")
    12  T::EQ(result, ["4"])
    13  
    14  RETURN NONE