github.com/MontFerret/ferret@v0.18.0/e2e/tests/dynamic/doc/pagination_by_xpath.fql (about) 1 LET url = @lab.cdn.dynamic + "/#/pagination" 2 LET page = DOCUMENT(url, true) 3 4 LET items = ( 5 FOR i IN PAGINATION(page, X("//li[contains(@class, 'page-item-next') and contains(@class, 'page-item') and not(contains(@class, 'disabled'))]")) 6 RETURN i 7 ) 8 9 RETURN T::LEN(items, 5)