Interface: LocatorCellSnapshot
@termwright/driver / LocatorCellSnapshot
Interface: LocatorCellSnapshot
Section titled “Interface: LocatorCellSnapshot”Defined in: driver/src/api.ts:732
@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”columns
Section titled “columns”
readonlycolumns:number
Defined in: driver/src/api.ts:735
origin
Section titled “origin”
readonlyorigin:object
Defined in: driver/src/api.ts:734
column
Section titled “column”
readonlycolumn:number
readonlyrow:number
readonlyrows:number
Defined in: driver/src/api.ts:736
readonlystamp:ObservationStamp
Defined in: driver/src/api.ts:733
Methods
Section titled “Methods”cell()
Section titled “cell()”cell(
row,column):CellSnapshot
Defined in: driver/src/api.ts:739
Parameters
Section titled “Parameters”number
column
Section titled “column”number
Returns
Section titled “Returns”line()
Section titled “line()”line(
row):string
Defined in: driver/src/api.ts:738
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”string
text()
Section titled “text()”text():
string
Defined in: driver/src/api.ts:737
Returns
Section titled “Returns”string