mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
chore: bring back dblclick alias (#6667)
This commit is contained in:
parent
2ef47b95f2
commit
ba637e6e41
@ -200,6 +200,9 @@ When all steps combined have not finished during the specified [`option: timeout
|
||||
Returns the content frame for element handles referencing iframe nodes, or `null` otherwise
|
||||
|
||||
## async method: ElementHandle.dblclick
|
||||
* langs:
|
||||
- alias-csharp: DblClickAsync
|
||||
|
||||
This method double clicks the element by performing the following steps:
|
||||
1. Wait for [actionability](./actionability.md) checks on the element, unless [`option: force`] option is set.
|
||||
1. Scroll the element into view if needed.
|
||||
|
||||
@ -248,6 +248,9 @@ When all steps combined have not finished during the specified [`option: timeout
|
||||
Gets the full HTML contents of the frame, including the doctype.
|
||||
|
||||
## async method: Frame.dblclick
|
||||
* langs:
|
||||
- alias-csharp: DblClickAsync
|
||||
|
||||
This method double clicks an element matching [`param: selector`] by performing the following steps:
|
||||
1. Find an element matching [`param: selector`]. If there is none, wait until a matching element is attached to
|
||||
the DOM.
|
||||
|
||||
@ -74,6 +74,9 @@ Shortcut for [`method: Mouse.move`], [`method: Mouse.down`], [`method: Mouse.up`
|
||||
### option: Mouse.click.delay = %%-input-down-up-delay-%%
|
||||
|
||||
## async method: Mouse.dblclick
|
||||
* langs:
|
||||
- alias-csharp: DblClickAsync
|
||||
|
||||
Shortcut for [`method: Mouse.move`], [`method: Mouse.down`], [`method: Mouse.up`], [`method: Mouse.down`] and
|
||||
[`method: Mouse.up`].
|
||||
|
||||
|
||||
@ -682,6 +682,9 @@ Only available for Chromium atm.
|
||||
Browser-specific Coverage implementation. See [Coverage](#class-coverage) for more details.
|
||||
|
||||
## async method: Page.dblclick
|
||||
* langs:
|
||||
- alias-csharp: DblClickAsync
|
||||
|
||||
This method double clicks an element matching [`param: selector`] by performing the following steps:
|
||||
1. Find an element matching [`param: selector`]. If there is none, wait until a matching element is attached to
|
||||
the DOM.
|
||||
|
||||
@ -289,8 +289,6 @@ function toMemberName(member, options) {
|
||||
* @returns {string}
|
||||
*/
|
||||
function toTitleCase(name) {
|
||||
if (name === 'dblclick')
|
||||
return 'DblClick';
|
||||
return name.charAt(0).toUpperCase() + name.substring(1);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user