Skip to content

Commit c0be8c3

Browse files
ankur22inancgumus
andcommitted
Apply suggestions from code review
Co-authored-by: İnanç Gümüş <[email protected]>
1 parent 997783b commit c0be8c3

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

docs/sources/next/javascript-api/k6-experimental/browser/elementhandle/dblclick.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,23 @@ excerpt: 'Browser module: elementHandle.dblclick([, options]) method'
55

66
# dblclick([, options])
77

8-
Mouse double clicks the element.
8+
Mouse double clicks on the element.
99

1010
<TableWithNestedRows>
1111

12-
| Parameter | Type | Default | Description |
13-
| ------------------- | -------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
14-
| options | object | `null` | |
15-
| 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. |
12+
| Parameter | Type | Default | Description |
13+
| ------------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
14+
| options | object | `null` | |
15+
| 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`. |
2525

2626
</TableWithNestedRows>
2727

docs/sources/next/javascript-api/k6-experimental/browser/frame/dblclick.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ Use locator-based [`locator.dblclick([options])`](https://grafana.com/docs/k6/<K
1111

1212
{{% /admonition %}}
1313

14-
Double clicks an element matching provided selector.
14+
Double clicks on an element matching the provided selector.
1515

1616
<TableWithNestedRows>
1717

1818
| Parameter | Type | Default | Description |
1919
| ------------------- | -------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
20-
| 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.
2121
| options | object | `null` | |
2222
| options.button | string | `left` | The mouse button (`left`, `middle` or `right`) to use during the action. |
2323
| 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`.
2525
| options.modifiers | string[] | `null` | `Alt`, `Control`, `Meta` or `Shift` modifiers keys pressed during the action. If not specified, currently pressed modifiers are used. |
2626
| options.noWaitAfter | boolean | `false` | If set to `true` and a navigation occurs from performing this action, it will not wait for it to complete. |
2727
| 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

Comments
 (0)