Skip to content

Commit df58218

Browse files
authored
k6 browser: update selectOption doc (#1983)
* k6 browser: update selectOption doc * remove known issues sectoin
1 parent aac3445 commit df58218

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

docs/sources/k6/next/javascript-api/k6-browser/locator/selectoption.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,13 @@ description: 'Browser module: locator.selectOption method'
55

66
# selectOption(values, [options])
77

8-
{{< admonition type="caution" >}}
9-
10-
This feature has **known issues**. For details, refer to
11-
[#470](https://github.com/grafana/xk6-browser/issues/470) and [#471](https://github.com/grafana/xk6-browser/issues/471).
12-
13-
{{< /admonition >}}
14-
158
Select one or more options which match the values.
169

1710
<TableWithNestedRows>
1811

1912
| Parameter | Type | Default | Description |
2013
| ------------------- | ---------------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
21-
| values | string or string[] or object | `''` | 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`. |
14+
| values | string or string[] or object | `''` | 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. String values are matching both values and labels. Object can be made up of keys with `value`, `label` or `index`. |
2215
| options | object | `null` | |
2316
| options.force | boolean | `false` | Setting this to `true` will bypass the actionability checks (`visible`, `stable`, `enabled`). |
2417
| options.noWaitAfter | boolean | `false` | If set to `true` and a navigation occurs from performing this action, it will not wait for it to complete. |

0 commit comments

Comments
 (0)