github.com/MontFerret/ferret@v0.18.0/e2e/tests/dynamic/element/query/exists_by_xpath.fql (about) 1 LET url = @lab.cdn.dynamic 2 LET doc = DOCUMENT(url, true) 3 4 LET el = ELEMENT(doc, "#root") 5 6 T::TRUE(ELEMENT_EXISTS(el, X(".//*[contains(@class, 'jumbotron')]"))) 7 T::FALSE(ELEMENT_EXISTS(el, X(".//*[contains(@class, 'foo-bar')]"))) 8 9 RETURN NONE