Function: serializeScreen()
@termwright/test / serializeScreen
Function: serializeScreen()
Section titled “Function: serializeScreen()”serializeScreen(
screen,options?):string
Defined in: test/src/cells.ts:45
Renders the visible grid.
Parameters
Section titled “Parameters”screen
Section titled “screen”Pick<ScreenSnapshot, "columns" | "rows" | "cell">
options?
Section titled “options?”CellSnapshotOptions = {}
Returns
Section titled “Returns”string
Example
Section titled “Example”┌─ 20×3 ─────────────┐│Permission required ││ [Approve] Reject │└────────────────────┘