github.com/MontFerret/ferret@v0.18.0/e2e/tests/dynamic/doc/inner_html/get_by_xpath_all.fql (about)

     1  LET url = @lab.cdn.dynamic
     2  LET doc = DOCUMENT(url, true)
     3  LET selector = X('//*[@id="root"]/div/main/div/*')
     4  
     5  WAIT_ELEMENT(doc, "#layout")
     6  
     7  LET expected = [
     8  '<h1>Welcome to Ferret E2E test page!</h1>',
     9  '<p class="lead">It has several pages for testing different possibilities of the library</p>'
    10  ]
    11  LET actual = INNER_HTML_ALL(doc, selector)
    12  
    13  RETURN T::EQ(actual, expected)