github.com/MontFerret/ferret@v0.18.0/e2e/tests/dynamic/doc/wait/no_element_by_xpath.fql (about) 1 LET url = @lab.cdn.dynamic + "?redirect=/events" 2 LET doc = DOCUMENT(url, true) 3 LET pageSelector = "#page-events" 4 LET elemSelector = X("//*[@id='wait-no-element-content']") 5 LET btnSelector = "#wait-no-element-btn" 6 7 WAIT_ELEMENT(doc, pageSelector) 8 9 CLICK(doc, btnSelector) 10 11 WAIT_NO_ELEMENT(doc, elemSelector, 10000) 12 13 T::FALSE(ELEMENT_EXISTS(doc, elemSelector), "element should not be found") 14 15 RETURN NONE