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