add cross-references
This commit is contained in:
parent
c47acff433
commit
ebf1fed0dd
|
|
@ -2332,7 +2332,7 @@ This method expects [Locator] to point to an
|
|||
## async method: Locator.tap
|
||||
* since: v1.14
|
||||
|
||||
Perform a tap gesture on the element matching the locator.
|
||||
Perform a tap gesture on the element matching the locator. For examples of emulating other gestures by manually dispatching touch events, see the [emulating legacy touch events](../touch-events.md) page.
|
||||
|
||||
**Details**
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
The Touchscreen class operates in main-frame CSS pixels relative to the top-left corner of the viewport. Methods on the
|
||||
touchscreen can only be used in browser contexts that have been initialized with `hasTouch` set to true.
|
||||
|
||||
This class is limited to emulating tap gestures. For examples of other gestures simulated by manually dispatching touch events, see the [emulating legacy touch events](../touch-events.md) page.
|
||||
|
||||
## async method: Touchscreen.tap
|
||||
* since: v1.8
|
||||
|
||||
|
|
|
|||
6
packages/playwright-client/types/types.d.ts
vendored
6
packages/playwright-client/types/types.d.ts
vendored
|
|
@ -14426,7 +14426,8 @@ export interface Locator {
|
|||
}): Promise<void>;
|
||||
|
||||
/**
|
||||
* Perform a tap gesture on the element matching the locator.
|
||||
* Perform a tap gesture on the element matching the locator. For examples of emulating other gestures by manually
|
||||
* dispatching touch events, see the [emulating legacy touch events](https://playwright.dev/docs/touch-events) page.
|
||||
*
|
||||
* **Details**
|
||||
*
|
||||
|
|
@ -21310,6 +21311,9 @@ export interface Selectors {
|
|||
/**
|
||||
* The Touchscreen class operates in main-frame CSS pixels relative to the top-left corner of the viewport. Methods on
|
||||
* the touchscreen can only be used in browser contexts that have been initialized with `hasTouch` set to true.
|
||||
*
|
||||
* This class is limited to emulating tap gestures. For examples of other gestures simulated by manually dispatching
|
||||
* touch events, see the [emulating legacy touch events](https://playwright.dev/docs/touch-events) page.
|
||||
*/
|
||||
export interface Touchscreen {
|
||||
/**
|
||||
|
|
|
|||
6
packages/playwright-core/types/types.d.ts
vendored
6
packages/playwright-core/types/types.d.ts
vendored
|
|
@ -14426,7 +14426,8 @@ export interface Locator {
|
|||
}): Promise<void>;
|
||||
|
||||
/**
|
||||
* Perform a tap gesture on the element matching the locator.
|
||||
* Perform a tap gesture on the element matching the locator. For examples of emulating other gestures by manually
|
||||
* dispatching touch events, see the [emulating legacy touch events](https://playwright.dev/docs/touch-events) page.
|
||||
*
|
||||
* **Details**
|
||||
*
|
||||
|
|
@ -21310,6 +21311,9 @@ export interface Selectors {
|
|||
/**
|
||||
* The Touchscreen class operates in main-frame CSS pixels relative to the top-left corner of the viewport. Methods on
|
||||
* the touchscreen can only be used in browser contexts that have been initialized with `hasTouch` set to true.
|
||||
*
|
||||
* This class is limited to emulating tap gestures. For examples of other gestures simulated by manually dispatching
|
||||
* touch events, see the [emulating legacy touch events](https://playwright.dev/docs/touch-events) page.
|
||||
*/
|
||||
export interface Touchscreen {
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue