pointerdriver

Automate pointer, touch, and gesture events for web interfaces.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/TheProfs/pointerdriver --skill pointerdriver
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pointerdriver
Source: https://github.com/TheProfs/pointerdriver/tree/main/bin
Command: npx skills add https://github.com/TheProfs/pointerdriver --skill pointerdriver

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables automated testing and interaction simulation for complex web applications with gesture-heavy interfaces, reducing manual effort and increasing testing reliability.

Core Features & Use Cases

  • Device Emulation: Reproduce mouse, touch, or pen gestures on web elements for testing or demonstrations.
  • Interaction Automation: Simulate drags, swipes, pinches, twists, and text input for dynamic user interfaces.
  • Use Case: Automate testing of a whiteboard app by programmatically drawing with a stylus or mouse to verify drawing tools and interface responses.

Quick Start

Import the module in your browser's DevTools, create motion instances with target elements and points or commands, then call perform to execute interactions.

Frequently Asked Questions about pointerdriver

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate touch and gesture events for web testing?

You can automate touch and gesture events by importing the module in your browser's DevTools, creating motion instances with target elements and points, then calling perform to execute the simulated interactions.

Can I simulate stylus and mouse interactions for a drawing app?

Yes, you can simulate stylus and mouse interactions by defining motion classes and custom scripts. This allows you to programmatically reproduce drawing actions and verify interface responses for applications like whiteboards.

Does this pointer and gesture simulation require specific dependencies?

No external dependencies are required. You need a web browser environment to import the module via DevTools, create motion instances defining target elements and points, and call perform to execute the simulated gestures.

What is the best way to emulate human-like pointer events in JavaScript?

The best way to emulate human-like pointer events is using a programmable automation module that supports custom motion classes and optional visual overlays, ensuring complex actions like twists and pinches are reproduced accurately for testing.

Why use custom scripts for web testing instead of standard automation?

Custom scripts are necessary for gesture-heavy web testing because standard automation lacks the precision for complex motions like pinches, twists, and multi-point drags. They provide specific motion classes to emulate human interactions accurately.