Interface: BoundsExpectation
@termwright/driver / BoundsExpectation
Interface: BoundsExpectation
Section titled “Interface: BoundsExpectation”Defined in: driver/src/api.ts:750
@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”column?
Section titled “column?”
readonlyoptionalcolumn?:number
Defined in: driver/src/api.ts:752
height?
Section titled “height?”
readonlyoptionalheight?:number
Defined in: driver/src/api.ts:754
readonlyoptionalrow?:number
Defined in: driver/src/api.ts:751
width?
Section titled “width?”
readonlyoptionalwidth?:number
Defined in: driver/src/api.ts:753