Skip to main content

Copy

The Copy step in Snappit extracts the text content from a specified target element in the browser and outputs that text as a value. This allows you to retrieve dynamic content from the page and use it in subsequent steps of your workflow.

Snappit Copy Step


📋 Purpose

To read and copy the text content from a DOM element so it can be reused, stored, or conditionally processed in later workflow steps.


🧭 Behavior

  • Requires a target element to identify where to extract the text from.
  • At runtime, Snappit will locate the target element and retrieve its visible text content.
  • The result is made available as an output variable, which can be referenced in other steps.

⚙️ Configuration

  • target: The HTML element whose text content should be copied.

Make sure the element is visible and contains readable text at the time the workflow reaches this step.


✅ Use Cases

  • Extracting values like usernames, prices, or labels from a webpage
  • Reading status messages or response text
  • Passing dynamic UI values to subsequent logic blocks or validations

The Copy step brings powerful read-access to your automation workflows, enabling data extraction and value propagation within your browser-based tasks.