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

     1  LET url = @lab.cdn.static + '/list.html'
     2  LET doc = DOCUMENT(url)
     3  
     4  LET list = ELEMENT(doc, X("//*[contains(@class, 'track-list')]"))
     5  LET children = list.children
     6  T::NOT::NONE(children)
     7  T::NOT::EMPTY(children)
     8  
     9  RETURN NONE