Table of Contents

Method SetText

Namespace
GrindFest
Assembly
GrindFest.dll

SetText(VisualElement, string)

Set a text field's value the way the UI does (a ChangeEvent), for TextInput/onValueChanged bindings. Typing key-by-key would be more faithful but is not worth it for most tests.

public static void SetText(VisualElement field, string value)

Parameters

field VisualElement
value string