github.com/MontFerret/ferret@v0.18.0/e2e/tests/static/doc/element/exists_by_xpath.fql (about) 1 LET url = @lab.cdn.static + '/overview.html' 2 LET doc = DOCUMENT(url) 3 4 T::TRUE(ELEMENT_EXISTS(doc, X("//[contains(@class, 'section-nav')]"))) 5 T::FALSE(ELEMENT_EXISTS(doc, X("//[contains(@class, 'foo-bar')]"))) 6 7 RETURN NONE