mirror of
https://github.com/hanzoai/puppeteer.git
synced 2026-09-24 17:02:14 +00:00
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
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