mirror of
https://github.com/hanzoai/puppeteer.git
synced 2026-09-24 17:02:14 +00:00
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikolay Vitkov <[email protected]>
720 B
720 B
sidebar_label
| sidebar_label |
|---|
| ElementHandle.touchStart |
ElementHandle.touchStart() method
This method scrolls the element into view if needed, and then starts a touch in the center of the element.
Signature
class ElementHandle {
touchStart(this: ElementHandle<Element>): Promise<TouchHandle>;
}
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
this |
ElementHandle<Element> |
Returns:
Promise<TouchHandle>
A TouchHandle representing the touch that was started