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

     1  LET url = @lab.cdn.dynamic + "?redirect=/iframe&src=/events"
     2  LET page = DOCUMENT(url, { driver: 'cdp' })
     3  LET doc = page.frames[1]
     4  
     5  WAIT_ELEMENT(doc, "#page-events", 5000)
     6  
     7  LET input = ELEMENT(doc, "#hoverable-btn")
     8  
     9  HOVER(input)
    10  WAIT_ELEMENT(doc, "#hoverable-content")
    11  
    12  LET output = ELEMENT(doc, "#hoverable-content")
    13  
    14  RETURN T::EQ(output.innerText, "Lorem ipsum dolor sit amet.")