How-to

Select option (selectOption)

Select option (selectOption)

Selects an item in a <select> or compatible list. Value is the option value or visible label - as the product and Playwright accept.

Step model

action_nameselectOption
GroupInput
TargetRequired
ValueRequired (text)
expected_valueUnused
TEST_ACCOUNTAllowed
Do not confuse withclick

Target/Value facts match the source-of-truth catalog and Autotest step.

Prerequisites

  1. Target points to the select control.

Steps

  1. Add a selectOption step.
  2. Set the select Target.
  3. Put the desired option in Value.
  4. Save.

The step is stored on the autotest. Next - neighbouring steps or autotest run creation.

Examples

Member role

Fields in the UI:

FieldValue
action_nameselectOption
Targetkind LABEL, value Role
ValueMember
value_source_typeINLINE

Step JSON fragment (copy-paste):

json
{
  "action_name": "selectOption",
  "target": {
    "kind": "LABEL",
    "value": "Role"
  },
  "value_text": "Member",
  "value_source_type": "INLINE"
}

Common mistakes

  • Do not drive a custom dropdown with selectOption - that is not a native select.

Screenshots

Screenshots of the step form for selectOption will be added here in a later pass.

Version 1.0.0 · Last updated 2026-09-11

Did this page help?