ghost-cursor-patchright-core
Version:
Move your mouse like a human in puppeteer and playwright or generate realistic movements on any 2D plane
9 lines (8 loc) • 320 B
TypeScript
import type { Page } from 'patchright-core';
import type { Page as PlaywrightPage } from 'playwright-core';
/**
* This injects a box into the page that moves with the mouse.
* Useful for debugging.
*/
declare function installMouseHelper(page: Page | PlaywrightPage): Promise<void>;
export default installMouseHelper;