Press / to search

All documentation
docs▸Teach the agent▸Step reference

Runs onWrit CloudDesktopSelf-hosted

Interaction step

Check

The check step sets a checkbox or radio button to checked. It is idempotent: if the control is already checked, nothing changes and the run continues.

In a workflow, this is a step object with "type": "check". Steps run in order, and each step can read the outputs of the steps before it. See the fullworkflows reference for the 30+ step types.

Writ runs on your own accounts, with your own credentials and data, on sites you are authorized to use.

Fields

FieldTypeDescription
selectorrequiredselectorThe checkbox or radio input.

Example

A single check step as it appears in a workflow's steps array:

{
  "type": "check",
  "config": { "selector": "#agree-to-terms" }
}

How it behaves

  • Idempotent: safe to run even if the box is already checked.
  • uncheck is the mirror step for clearing a checkbox.

Where it runs

The check step executes wherever the run executes. On yourlocal or BYO agent there is no compute charge and the agent can reach intranet-only systems; on Writ cloud the run is metered by running time (~$0.12 per browser-hour, from your plan’s included usagewallet.

What next

  • Workflows - the full step vocabulary and the workflow object.
  • Recorder - capture steps by clicking through a site.
  • Managed endpoints - turn the workflow into a REST endpoint, or an MCP tool.