Interface: PointerOptions
@termwright/driver / PointerOptions
Interface: PointerOptions
Section titled “Interface: PointerOptions”Defined in: driver/src/api.ts:762
@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.
Example
Section titled “Example”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();Extends
Section titled “Extends”Properties
Section titled “Properties”button?
Section titled “button?”
readonlyoptionalbutton?:"left"|"middle"|"right"
Defined in: driver/src/api.ts:763
modifiers?
Section titled “modifiers?”
readonlyoptionalmodifiers?: readonlyMouseModifier[]
Defined in: driver/src/api.ts:307
Inherited from
Section titled “Inherited from”MouseModifierOptions.modifiers
position?
Section titled “position?”
readonlyoptionalposition?:object
Defined in: driver/src/api.ts:764
columnOffset
Section titled “columnOffset”
readonlycolumnOffset:number
rowOffset
Section titled “rowOffset”
readonlyrowOffset:number
timeout?
Section titled “timeout?”
readonlyoptionaltimeout?:number
Defined in: driver/src/api.ts:561