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