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

     1  LET url = @lab.cdn.static + '/overview.html'
     2  LET doc = DOCUMENT(url)
     3  
     4  T::TRUE(ELEMENT_EXISTS(doc, '.section-nav'))
     5  T::FALSE(ELEMENT_EXISTS(doc, '.foo-bar'))
     6  
     7  RETURN NONE