Docs (4.0.0)
class TestOutputElement method

setValue

Simulates text input on a text field element.

setValue(text: string): this

Notes

  • This method sets input focus on a text field, sets its value to the provided text, and sends the input platform event.
  • Nothing happens if the element isn’t a text field.

Parameters

  • text — The new text value

Related