github.com/MontFerret/ferret@v0.18.0/e2e/tests/dynamic/doc/select/single_by_xpath.fql (about) 1 LET url = @lab.cdn.dynamic + "?redirect=/forms" 2 LET doc = DOCUMENT(url, { driver: "cdp" }) 3 4 WAIT_ELEMENT(doc, "form") 5 6 LET output = ELEMENT(doc, "#select_output") 7 LET result = SELECT(doc, X("//*[@id='select_input']"), ["4"]) 8 9 T::EQ(output.innerText, "4") 10 T::EQ(JSON_STRINGIFY(result), '["4"]') 11 12 RETURN NONE