Drop clickCount as it is unused

This commit is contained in:
Matt Kleinsmith 2024-07-15 17:25:20 -07:00
parent 5028769b52
commit 3ece2f5aea

View file

@ -186,10 +186,7 @@ class Recorder {
await this.page.mouse.move(box.x + box.width / 2, box.y + box.height / 2); await this.page.mouse.move(box.x + box.width / 2, box.y + box.height / 2);
} }
async trustedClick(options?: { async trustedClick(options?: { button?: 'left' | 'right' | 'middle' }) {
button?: 'left' | 'right' | 'middle';
clickCount?: number;
}) {
await this.page.mouse.down(options); await this.page.mouse.down(options);
await this.page.mouse.up(options); await this.page.mouse.up(options);
} }