You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the select has the multiple attribute, all matching options are selected, otherwise only the first option matching one of the passed options is selected. Object can be made up of keys with value, label or index.
Brief summary
Unable to selectOption using object as described here: https://grafana.com/docs/k6/latest/javascript-api/k6-browser/locator/selectoption/
Supported by Playwright: https://playwright.dev/docs/input#select-options
Example:
options.selectOption({label:'Five'})
xk6-browser version
128.0.6613.115
OS
Windows 11 Enterprise, 10.0.22631 Build 22631
Chrome version
128.0.6613.115
Docker version and image (if applicable)
No response
Steps to reproduce the problem
Expected behaviour
Selecting "Five" from the numbers-options selection box
Actual behaviour
The text was updated successfully, but these errors were encountered: