Skip to content

gf.mouseMove

gf.mouseMove(x: number, y: number): Promise<void>

Section titled “gf.mouseMove(x: number, y: number): Promise<void>”

Moves the mouse to the specified coordinates.

  • x: The X coordinate where the mouse will be moved.
  • y: The Y coordinate where the mouse will be moved.
  • Returns a promise that resolves when the mouse move is complete.
describe('Test script', function () {
it('Test 1', async () => {
await gf.mouseMove(100, 100);
});
});