Skip to main content

Paste

The Paste step in Snappit is used to input text into a specified target element, similar to the Type step. However, unlike the Type step, it appends the new text to any existing content in the target input field instead of replacing it.

Snappit Paste Step


📋 Purpose

To simulate the action of pasting text into an input field without clearing the field's current value. This is especially useful when additional input needs to be added to pre-existing data.


🧭 Behavior

  • Requires a target element that supports text input (e.g., <input>, <textarea>).
  • Appends the provided text to the current value of the target element.
  • Can be used to build up input values progressively across multiple steps.

⚙️ Configuration

  • target: The HTML element into which the text will be pasted.
  • value: The value to be appended to the input element.

The value input supports interpolation, allowing you to dynamically include values from earlier steps.


✅ Use Cases

  • Incrementally building up a search query or comment field
  • Inserting user-specific data into a pre-filled form
  • Appending data logs or comments into a multi-line input field

The Paste step provides a non-destructive way to enhance or extend text input in your automation workflows, offering more flexibility than traditional typing actions.