> ## Documentation Index
> Fetch the complete documentation index at: https://momentic.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# type

> Type text, optionally into a specific field.

Types text. The simplified form takes the text as a single string and types into
the currently focused field. Use the detailed form to target a field with
`into`.

## Parameters

| Parameter           | Type      | Required | Description                                                 |
| ------------------- | --------- | -------- | ----------------------------------------------------------- |
| `text`              | `string`  | Yes      | The text to type.                                           |
| `into`              | `string`  | No       | Target field description or percent pair.                   |
| `clearContent`      | `boolean` | No       | Clear the field before typing.                              |
| `forceClearContent` | `boolean` | No       | Force-clear the field when a normal clear is insufficient.  |
| `delay`             | `number`  | No       | Milliseconds between key presses.                           |
| `saveAs`            | `string`  | No       | Variable to store this step's return value on `env.<name>`. |
| `retries`           | `number`  | No       | Times to retry the step on failure before failing the test. |
| `skipped`           | `boolean` | No       | Skip this step at execution time.                           |

## Shorthand

Text as a single string.

```yaml theme={null}
- type: jeff@example.com
```

## Examples

```yaml theme={null}
- type:
    text: jeff@example.com
    into: the Email field # focus this field first
    clearContent: true # clear any existing value before typing
```

## Related

* [Test format](/core-concepts/test-format)
