mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-16 11:37:36 +02:00
af1125c8e9
* Added INPUT_CLEAR function * Fixed linting issue * Fixed formatting
14 lines
323 B
Plaintext
14 lines
323 B
Plaintext
LET url = @dynamic + "?redirect=/forms"
|
|
LET doc = DOCUMENT(url, true)
|
|
|
|
WAIT_ELEMENT(doc, "form")
|
|
|
|
LET form = ELEMENT(doc, "#page-form")
|
|
|
|
INPUT(form, "#text_input", "foo")
|
|
INPUT_CLEAR(form, "#text_input")
|
|
|
|
LET input = ELEMENT(doc, "#text_input")
|
|
LET output = ELEMENT(doc, "#text_output")
|
|
|
|
RETURN EXPECT("", output.innerText) |