Reference Workflows 06 / 06
Select step
Choose an option from a dropdown. A step a recorded Writ workflow can run, with its fields and an example.
On this page
The select step picks an option in a native <select> element. For custom dropdowns rendered as menus, record a click on the option instead.
In a workflow, this step is a JSON object with "type": "select". Steps run in order, and each step can read the outputs of the steps before it.
Fields
Set these inside the step’s config object.
-
selectorselector required - The
<select>element. -
valuestring required - The option to select (placeholders supported).
Example
One select step, as it appears in the steps list of a workflow.
{
"type": "select",
"config": { "selector": "select[name='country']", "value": "United States" }
} How it behaves
- Custom (non-native) dropdowns are a click on the trigger plus a click on the option.
- The value can come from the declared inputs, so one workflow serves many choices.
Where it runs
The step runs wherever its workflow runs. On Writ Desktop, runs are free and can reach systems that only your own network can reach.
On Writ Cloud, each call costs credits: 20 when the run needs a browser, 2 when it does not. A call that fails because of the site or Writ costs nothing.
Related steps
- Click
clickClick an element identified by a stable selector. - Check
checkSet a checkbox or radio to checked. - Fill
fillSet a field's value in one operation.
Next
- 01 All workflow steps The full step list, grouped by family.
- 02 Record a workflow Show Writ the clicks once in a real browser, then replay them with new inputs on demand or on a schedule.
- 03 Call your API Run an API over REST from any language: endpoints, keys, waiting for results, caching and responses.
- 04 Credits and plans What each call, page and check costs in credits, what plans include, and what happens at zero.