github.com/MontFerret/ferret@v0.18.0/e2e/tests/static/doc/inner_text/get_by_xpath.fql (about) 1 LET url = @lab.cdn.static + '/overview.html' 2 LET doc = DOCUMENT(url) 3 4 LET expected = 'ContainersResponsive breakpointsZ-index' 5 LET actual = INNER_TEXT(doc, X("//*[contains(@class, 'section-nav')]")) 6 7 RETURN T::EQ(REGEX_REPLACE(TRIM(actual), '(\n|\s)', ''), REGEX_REPLACE(expected, '\s', ''))