github.com/MontFerret/ferret@v0.18.0/e2e/tests/dynamic/page/parse.fql (about)

     1  LET page = PARSE(`
     2  <!DOCTYPE html>
     3  <html lang="en">
     4  <head>
     5      <meta charset="UTF-8">
     6      <title>Offline</title>
     7  </head>
     8  <body>
     9      <h1>Hello world</h1>
    10  </body>
    11  </html>
    12  `, {
    13      driver: "cdp"
    14  })
    15  
    16  LET title = ELEMENT(page, "title")
    17  
    18  RETURN T::EQ(title.innerText, "Offline")