mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
23 lines
1.5 KiB
Markdown
23 lines
1.5 KiB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Input](./puppeteer.protocol.input.md) > [SynthesizeTapGestureRequest](./puppeteer.protocol.input.synthesizetapgesturerequest.md)
|
|
|
|
## Protocol.Input.SynthesizeTapGestureRequest interface
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export interface SynthesizeTapGestureRequest
|
|
```
|
|
|
|
## Properties
|
|
|
|
| Property | Type | Description |
|
|
| --- | --- | --- |
|
|
| [duration](./puppeteer.protocol.input.synthesizetapgesturerequest.duration.md) | [integer](./puppeteer.protocol.integer.md) | Duration between touchdown and touchup events in ms (default: 50). |
|
|
| [gestureSourceType](./puppeteer.protocol.input.synthesizetapgesturerequest.gesturesourcetype.md) | [GestureSourceType](./puppeteer.protocol.input.gesturesourcetype.md) | Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type). |
|
|
| [tapCount](./puppeteer.protocol.input.synthesizetapgesturerequest.tapcount.md) | [integer](./puppeteer.protocol.integer.md) | Number of times to perform the tap (e.g. 2 for double tap, default: 1). |
|
|
| [x](./puppeteer.protocol.input.synthesizetapgesturerequest.x.md) | number | X coordinate of the start of the gesture in CSS pixels. |
|
|
| [y](./puppeteer.protocol.input.synthesizetapgesturerequest.y.md) | number | Y coordinate of the start of the gesture in CSS pixels. |
|
|
|