Skip to content

Interface: LocatorCellSnapshot

@termwright/driver


@termwright/driver / 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.

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 columns: number

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


readonly origin: object

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

readonly column: number

readonly row: number


readonly rows: number

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


readonly stamp: ObservationStamp

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

cell(row, column): CellSnapshot

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

number

number

CellSnapshot


line(row): string

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

number

string


text(): string

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

string