Interface: TimeoutClasses
@termwright/driver / TimeoutClasses
Interface: TimeoutClasses
Section titled “Interface: TimeoutClasses”Defined in: driver/src/api.ts:46
@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();Properties
Section titled “Properties”action?
Section titled “action?”
readonlyoptionalaction?:number
Defined in: driver/src/api.ts:47
readonlyoptionalexit?:number
Defined in: driver/src/api.ts:51
readonlyoptionalidle?:number
Defined in: driver/src/api.ts:49
ready?
Section titled “ready?”
readonlyoptionalready?:number
Defined in: driver/src/api.ts:50
readonlyoptionaltext?:number
Defined in: driver/src/api.ts:48