Compose API Reference Compose UI Test performTextReplacement Function Common fun SemanticsNodeInteraction.performTextReplacement(text: String) Replaces existing text with the given text in this node in similar way to IME. This does not reflect text selection. All the text gets cleared out and new inserted. Parameters textText to send.
Compose API Reference Compose UI Test performTextReplacement Function Common fun SemanticsNodeInteraction.performTextReplacement(text: String) Replaces existing text with the given text in this node in similar way to IME. This does not reflect text selection. All the text gets cleared out and new inserted. Parameters textText to send.