github.com/MontFerret/ferret@v0.18.0/e2e/tests/dynamic/element/inner_text/set.fql (about)

     1  LET url = @lab.cdn.dynamic
     2  LET doc = DOCUMENT(url, true)
     3  LET el = ELEMENT(doc, ".jumbotron")
     4  
     5  LET expected = `Foobar`
     6  INNER_TEXT_SET(el, expected)
     7  WAIT(100)
     8  LET actual = INNER_TEXT(el)
     9  
    10  LET r1 = '(\n|\s)'
    11  LET r2 = '(\n|\s)'
    12  
    13  RETURN T::EQ(REGEX_REPLACE(TRIM(actual), r2, ''), REGEX_REPLACE(expected, r1, ''))