env_type
Sends keystrokes to the active window in a running environment. Verify focus with a screenshot first; fork golden images before typing.
Instructions
Type text into the environment's keyboard, as if a person were at it - the keystrokes go wherever the guest's focus happens to be, so check with env_screenshot first. Environments only: to type into a golden image, env_fork it and type into the fork. The environment must be running. Takes effect a moment after the call returns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | name of the environment | |
| text | Yes | text to type, as if at the keyboard | |
| press_enter | No | press enter after the text |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log | No | ||
| name | Yes |