mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-16 11:37:36 +02:00
d7b923e4c3
* Refactored Virtual DOM structure * Added new E2E tests * Updated E2E Test Runner
11 lines
348 B
Plaintext
11 lines
348 B
Plaintext
LET url = @dynamic + "?redirect=/iframe&src=/forms"
|
|
LET page = DOCUMENT(url, { driver: 'cdp' })
|
|
LET doc = page.frames[1]
|
|
|
|
WAIT_ELEMENT(doc, "form")
|
|
|
|
LET input = ELEMENT(doc, "#select_input")
|
|
LET output = ELEMENT(doc, "#select_output")
|
|
LET result = SELECT(input, ["4"])
|
|
|
|
RETURN EXPECT(output.innerText, "4") + EXPECT(JSON_STRINGIFY(result), '["4"]') |