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

     1  LET url = @lab.cdn.dynamic + "?redirect=/iframe&src=/events"
     2  LET page = DOCUMENT(url, { driver: 'cdp' })
     3  LET frames = (
     4      FOR f IN page.frames
     5          FILTER f.name == "nested"
     6          LIMIT 1
     7          RETURN f
     8  )
     9  LET doc = FIRST(frames)
    10  
    11  WAIT_ELEMENT(doc, "#page-events")
    12  
    13  HOVER(doc, "#hoverable-btn")
    14  WAIT_ELEMENT(doc, "#hoverable-content")
    15  
    16  LET output = INNER_TEXT(doc, "#hoverable-content")
    17  
    18  RETURN T::EQ(output, "Lorem ipsum dolor sit amet.")