github.com/MontFerret/ferret@v0.18.0/e2e/tests/dynamic/doc/element/exists_by_xpath.fql (about) 1 LET url = @lab.cdn.dynamic 2 LET doc = DOCUMENT(url, { driver: "cdp" }) 3 4 T::TRUE(ELEMENT_EXISTS(doc, X(".//*[contains(@class, 'text-center')]"))) 5 T::FALSE(ELEMENT_EXISTS(doc, X(".//*[contains(@class, 'foo-bar')]"))) 6 7 RETURN NONE