New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update browser module dblclick docs #1456
Conversation
| <a href="https://playwright.dev/docs/api/class-frame#frame-child-frames" target="_blank" >frame.childFrames()</a> | - | | ||
| <a href="https://playwright.dev/docs/api/class-frame#frame-click" target="_blank" >frame.click(selector[, options])</a> | - | | ||
| <a href="https://playwright.dev/docs/api/class-frame#frame-content" target="_blank" >frame.content()</a> | - | | ||
| [frame.dblclick(selector[, options])](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/browser/frame/dblclick) | Double click on an element matching the provided `selector`. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the change in this file.
@@ -7,28 +7,27 @@ excerpt: 'Browser module: locator.dblclick method' | |||
|
|||
{{% admonition type="caution" %}} | |||
|
|||
This feature has known issues. For details, refer to | |||
[#469](https://github.com/grafana/xk6-browser/issues/469) and [#471](https://github.com/grafana/xk6-browser/issues/471). | |||
This feature has known issues. For details, refer to [#471](https://github.com/grafana/xk6-browser/issues/471). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The main change is here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's nice that we've switched to our documentation 👏 Some mild suggestions.
docs/sources/next/javascript-api/k6-experimental/browser/element-handle/_index.md
Outdated
Show resolved
Hide resolved
docs/sources/next/javascript-api/k6-experimental/browser/element-handle/dblclick.md
Outdated
Show resolved
Hide resolved
docs/sources/next/javascript-api/k6-experimental/browser/element-handle/dblclick.md
Outdated
Show resolved
Hide resolved
docs/sources/next/javascript-api/k6-experimental/browser/element-handle/dblclick.md
Outdated
Show resolved
Hide resolved
docs/sources/next/javascript-api/k6-experimental/browser/element-handle/dblclick.md
Outdated
Show resolved
Hide resolved
docs/sources/next/javascript-api/k6-experimental/browser/element-handle/dblclick.md
Outdated
Show resolved
Hide resolved
docs/sources/next/javascript-api/k6-experimental/browser/element-handle/dblclick.md
Outdated
Show resolved
Hide resolved
docs/sources/next/javascript-api/k6-experimental/browser/frame/dblclick.md
Outdated
Show resolved
Hide resolved
docs/sources/next/javascript-api/k6-experimental/browser/frame/dblclick.md
Outdated
Show resolved
Hide resolved
docs/sources/next/javascript-api/k6-experimental/browser/frame/dblclick.md
Outdated
Show resolved
Hide resolved
3c703f3
to
4dfaddd
Compare
Co-authored-by: İnanç Gümüş <inanc.gumus@grafana.com>
4dfaddd
to
0abcf69
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just left a small style guide comment about i.e.
, everything else looks good!
docs/sources/next/javascript-api/k6-experimental/browser/elementhandle/dblclick.md
Outdated
Show resolved
Hide resolved
| options | object | `null` | | | ||
| options.button | string | `left` | The mouse button (`left`, `middle` or `right`) to use during the action. | | ||
| options.delay | number | `0` | Milliseconds to wait between `mousedown` and `mouseup`. | | ||
| options.force | boolean | `false` | Bypasses the actionability checks (i.e., `visible`, `stable`, `enabled`) if set to `true`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as previous comment.
Co-authored-by: ka3de <daniel.jimenez@grafana.com>
…nthandle/dblclick.md Co-authored-by: Heitor Tashiro Sergent <heitortsergent@gmail.com>
4fee11c
to
ef1cc2b
Compare
What?
Updates the
dblclick
API forelementHandle
,frame
andlocator
.Checklist
Please fill in this template:
make docs
command locally and verified that the changes look good.If updating the documentation for the next release of k6:
docs/sources/next
folder of the documentation.Related PR(s)/Issue(s)
Related to issue: grafana/xk6-browser#469