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") LET output = ELEMENT(doc, "#text_output") RETURN EXPECT(output.innerText, "foo")