open
Open a combobox panel, optionally picking in the same step
Open a custom combobox panel without picking, or open and pick in one step.
Syntax
When I open "<combobox>"
When I open "<combobox>" and pick "<option-or-list>"Qualifiers
| Qualifier | Role | Example |
|---|---|---|
and pick | Pick after open (single or comma multi) | open "Country" and pick "Canada" |
Examples
When I open "Tags"
Then I should see "Red"
When I pick "Red,Blue,Green"
When I open "Country" and pick "Canada"
When I open "Tags" and pick "Red,Blue,Green"Notes
openalone opens the panel; follow with bare pick for multi-select flows.open … and pickhas distinct errors at each phase (open vs pick).- Prefer select for native
<select>elements.