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
|[clear([options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/locator/clear)| Clears text boxes and input fields of any existing values. |
23
23
|[click([options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/locator/click) {{< docs/bwipt id="471" >}} | Mouse click on the chosen element. |
24
+
|[count()](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/locator/count)| Returns the number of elements matching the selector. |
24
25
|[dblclick([options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/locator/dblclick) {{< docs/bwipt id="471" >}} | Mouse double click on the chosen element. |
25
26
|[dispatchEvent(type, eventInit, [options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/locator/dispatchevent)| Dispatches HTML DOM event types e.g. `'click'`. |
26
27
|[fill(value, [options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/locator/fill)| Fill an `input`, `textarea` or `contenteditable` element with the provided value. |
0 commit comments