Skip to content

Copy in Page

  • Action
  • Browser
  • Advanced mode

Copies what is selected in the page (Ctrl+C inside the tab) to the clipboard, e.g. after Press Key in Page with Ctrl+A. The tab can be in the background. Continues on Out, on Not found, or on Failed.

In the editor, press Space on the canvas to add a step, then open Actions > Browser, or type its name. In Simple mode it's under Show all, and search finds it.

Settings

Element

An element: one way to find it per line

Optional: the element to do it on (it gets the focus first). Empty does it where the page's focus is. How to find it, one way per line, tried in order: role=button name=Sign in, label=Email, text=Sign in, placeholder=Search, testid=login, css=#login or xpath=//button. A line without a prefix is visible text. In quotes, the whole text must match. Inside an iframe: frame=#payment >> label=Card number.

Starts as: empty Takes ${variables} and expressions Can come from another step's output

Tab

A browser tab More options

Which tab: wire a Tab output here. Empty uses the tab this macro opened or switched to last.

Starts as: empty Takes ${variables} and expressions Can come from another step's output

Wait for it up to (ms)

A duration More options

Keeps looking until it's there and ready (shown, enabled, not moving, not covered), up to this long.

Starts as: 10000 Can come from another step's output

Where it continues

  • Out: Continues here when it's done.
  • Not found: Continues here when the element isn't on the page (it loaded, or stayed loading, without it); the reason is in Error.
  • Failed: Continues here when it can't be done (e.g. the element stayed covered or disabled, or the tab was closed); the reason is in Error.

Outputs

Values the step gives to the steps after it. In the Graph view, drag a wire from an output to another step's field.

Copy in Page outputs
OutputGivesWhat it is
ErrorTextWhy it didn't work; empty when it did.

More in Browser