(x: number, y: number)
| 78 | } |
| 79 | |
| 80 | async tap(x: number, y: number): Promise<Record<string, unknown>> { |
| 81 | this.requireSupport('tap'); |
| 82 | await this.pointerGesture('tap', [ |
| 83 | { type: 'pointerMove', duration: 0, x, y }, |
| 84 | { type: 'pointerDown', button: 0 }, |
| 85 | { type: 'pointerUp', button: 0 }, |
| 86 | ]); |
| 87 | return { backend: 'webdriver', x, y }; |
| 88 | } |
| 89 | |
| 90 | async doubleTap(x: number, y: number): Promise<Record<string, unknown>> { |
| 91 | this.requireSupport('doubleTap'); |