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
The content of this attribute represents the value to be submitted with the form, should this option be selected. If this attribute is omitted, the value is taken from the text content of the option element.
Actual behaviour
Error details:
ERRO[0002] Uncaught (in promise) selecting option on "//select[@name=\"civility\"]": TypeError: Cannot read properties of null (reading 'slice')
at InjectedScript.selectOptions (__xk6_browser_evaluation_script__:724:52)
at __xk6_browser_evaluation_script__:3:20 executor=shared-iterations scenario=ui
The text was updated successfully, but these errors were encountered:
Brief summary
Consider the following form:
The following test scenario fails:
k6 version
k6 v0.55.0 (go1.23.3, darwin/amd64)
OS
macOS 15.0.1
Docker version and image (if applicable)
No response
Steps to reproduce the problem
Full script to reproduce:
Expected behaviour
k6 should be able to parse the option without a value attribute.
: The HTML Option element - HTML: HyperText Markup Language | MDN
Actual behaviour
Error details:
The text was updated successfully, but these errors were encountered: