mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-12 11:15:14 +02:00
9 lines
306 B
Plaintext
9 lines
306 B
Plaintext
LET url = @dynamic + "?redirect=/forms"
|
|
LET doc = DOCUMENT(url, true)
|
|
|
|
WAIT_ELEMENT(doc, "form")
|
|
|
|
LET output = ELEMENT(doc, "#multi_select_output")
|
|
LET result = SELECT(doc, "#multi_select_input", ["1", "2", "4"])
|
|
|
|
RETURN EXPECT(output.innerText, "1, 2, 4") + EXPECT(JSON_STRINGIFY(result), '["1","2","4"]') |