Skip to content

Interface: LocatorWheelOptions

@termwright/driver


@termwright/driver / LocatorWheelOptions

Defined in: driver/src/api.ts:571

@termwright/driver — PTY + VT sessions, locators, actions and waits.

The normative public API lives in api.ts; this module is the only entry point and re-exports the types from there together with their runtime implementations.

import { launchTerminal } from '@termwright/driver';
const terminal = await launchTerminal({ command: ['node', 'app.js'] });
await terminal.waitForText('Ready');
await terminal.getByRole('button', { name: 'Approve' }).activate();
await terminal.close();

readonly optional deltaX?: number

Defined in: driver/src/api.ts:577


readonly optional deltaY?: number

Defined in: driver/src/api.ts:576


readonly optional modifiers?: readonly MouseModifier[]

Defined in: driver/src/api.ts:307

MouseModifierOptions.modifiers


readonly optional position?: object

Defined in: driver/src/api.ts:572

readonly columnOffset: number

readonly rowOffset: number


readonly optional timeout?: number

Defined in: driver/src/api.ts:561

WaitOptions.timeout