# eraseText

Erases all text in the currently focused text input.

Defaults to erasing 50 characters.

## Examples

```yaml
- eraseText
```

You can optionally provide a value to erase more or less characters. In this example, we tell the test runner to remove 80 characters:

```yaml
- eraseText: 80
```

## Related Commands

[inputtext](https://docs.moropo.com/creating-tests/commands/inputtext "mention")
