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
| options.button | string |`left`| The mouse button (`left`, `middle` or `right`) to use during the action. |
16
-
| options.delay | number |`0`| Milliseconds to wait between `mousedown` and `mouseup`. |
17
-
| options.force | boolean |`false`|Setting this to `true` will bypass the actionability checks (`visible`, `stable`, `enabled`).|
18
-
| options.modifiers | string[]|`null`|`Alt`, `Control`, `Meta` or `Shift` modifiers keys pressed during the action. If not specified, currently pressed modifiers are used. |
19
-
| options.noWaitAfter | boolean |`false`| If set to `true` and a navigation occurs from performing this action, it will not wait for it to complete. |
20
-
| options.position | object |`null`| A point to use relative to the top left corner of the element. If not supplied, a visible point of the element is used. |
21
-
| options.position.x | number |`0`| The x coordinate. |
22
-
| options.position.y | number |`0`| The y coordinate. |
23
-
| options.timeout | number |`30000`| Maximum time in milliseconds. Pass`0`to disable the timeout. Default is overridden by the `setDefaultTimeout` option on [BrowserContext](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/browser/browsercontext/) or [Page](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/browser/page/). |
24
-
| options.trial | boolean |`false`|Setting this to `true` will perform the actionability checks without performing the action.|
| options.button | string |`left`| The mouse button (`left`, `middle` or `right`) to use during the action. |
16
+
| options.delay | number |`0`| Milliseconds to wait between `mousedown` and `mouseup`. |
17
+
| options.force | boolean |`false`|Bypasses the actionability checks (i.e., `visible`, `stable`, `enabled`) if set to `true`. |
18
+
| options.modifiers | string[]|`null`|`Alt`, `Control`, `Meta` or `Shift` modifiers keys pressed during the action. If not specified, currently pressed modifiers are used. |
19
+
| options.noWaitAfter | boolean |`false`| If set to `true` and a navigation occurs from performing this action, it doesn't wait for it to complete.|
20
+
| options.position | object |`null`| A point to use relative to the top left corner of the element. If not supplied, a visible point of the element is used. |
21
+
| options.position.x | number |`0`| The x coordinate. |
22
+
| options.position.y | number |`0`| The y coordinate. |
23
+
| options.timeout | number |`30000`| Maximum time in milliseconds. Passing`0`disables the timeout. The `setDefaultTimeout` option on [BrowserContext](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/browser/browsercontext/) or [Page](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/browser/page/) can override the default timeout. |
24
+
| options.trial | boolean |`false`|Performs the actionability checks without performing the double click action if set to `true`. |
| selector | string |`''`| A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used. |
20
+
| selector | string | `''` | A selector to search for an element. The first element will be used if multiple elements match the selector.
21
21
| options | object |`null`||
22
22
| options.button | string |`left`| The mouse button (`left`, `middle` or `right`) to use during the action. |
23
23
| options.delay | number |`0`| Milliseconds to wait between `mousedown` and `mouseup`. |
24
-
| options.force | boolean |`false`|Setting this to `true` will bypass the actionability checks (`visible`, `stable`, `enabled`). |
24
+
| options.force | boolean | `false` | Bypasses the actionability checks (i.e., `visible`, `stable`, `enabled`) if set to `true`.
25
25
| options.modifiers | string[]|`null`|`Alt`, `Control`, `Meta` or `Shift` modifiers keys pressed during the action. If not specified, currently pressed modifiers are used. |
26
26
| options.noWaitAfter | boolean |`false`| If set to `true` and a navigation occurs from performing this action, it will not wait for it to complete. |
27
27
| options.position | object |`null`| A point to use relative to the top left corner of the element. If not supplied, a visible point of the element is used. |
0 commit comments