Skip to main content
Replaces the clipboard contents with the supplied value. Useful for priming a paste step or simulating data dragged in from outside the browser.

Parameters

ParameterTypeRequiredDescription
valuestring | boolean | nullYesValue to write to the clipboard.
saveAsstringNoName of the variable to write this step’s return value to.
retriesnumberNoNumber of times to retry the step on failure before failing the test.
skippedbooleanNoSkip this step at execution time.

Shorthand

Value as a string, boolean, or null.
- copy: hello world

Examples

- copy:
    value: "{{ env.PAYLOAD }}"
- copy:
    value: null