github.com/MontFerret/ferret@v0.18.0/e2e/tests/static/element/query/exists_by_css.fql (about)

     1  LET url = @lab.cdn.static + '/value.html'
     2  LET doc = DOCUMENT(url)
     3  
     4  LET el = ELEMENT(doc, "#listings_table")
     5  
     6  T::TRUE(ELEMENT_EXISTS(el, '.odd'))
     7  T::FALSE(ELEMENT_EXISTS(el, '.foo-bar'))
     8  
     9  RETURN NONE