mirror of
https://github.com/MontFerret/ferret.git
synced 2025-01-20 03:29:51 +02:00
d7b923e4c3
* Refactored Virtual DOM structure * Added new E2E tests * Updated E2E Test Runner
12 lines
332 B
Plaintext
12 lines
332 B
Plaintext
LET url = @dynamic + "?redirect=/iframe&src=/events"
|
|
LET page = DOCUMENT(url, { driver: 'cdp' })
|
|
LET doc = page.frames[1]
|
|
|
|
WAIT_ELEMENT(doc, "#page-events")
|
|
|
|
HOVER(doc, "#hoverable-btn")
|
|
WAIT_ELEMENT(doc, "#hoverable-content")
|
|
|
|
LET output = INNER_TEXT(doc, "#hoverable-content")
|
|
|
|
RETURN EXPECT(output, "Lorem ipsum dolor sit amet.") |