Selects an option from a <select> dropdown menu. Supports fixtures for reusable selectors and options. It first attempts to match by the visible label; if that fails, it tries to match by the underlying value attribute.
<select>
value
When I pw select option "options.country.canada" from "selectors.countrySelector" Copy
When I pw select option "options.country.canada" from "selectors.countrySelector"
Selects an option from a
<select>dropdown menu. Supports fixtures for reusable selectors and options. It first attempts to match by the visible label; if that fails, it tries to match by the underlyingvalueattribute.