<div class='type'>Function</div>


<a id='references'></a>


<h2 id="performtextreplacement-text">performTextReplacement</h2>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
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

| | |
| --- | --- |
| text | Text to send. |