# copyTextFrom

Copies text from an element identified by a [selector](https://docs.moropo.com/creating-tests/test-step-selectors).

## Examples

```yaml
- copyTextFrom:
    id: "my-id" # or any other selector which identifies the element to copy text from
```

## Related Commands

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