RecordOptions
Defined in: packages/devtools/src/headless/record.ts:51
Options for recordSession.
Properties
Section titled “Properties”limits?
Section titled “limits?”
optionallimits:object
Defined in: packages/devtools/src/headless/record.ts:59
Defaults: 2000 frames, 500 outcomes. Reaching either stops the recording.
frames?
Section titled “frames?”
optionalframes:number
outcomes?
Section titled “outcomes?”
optionaloutcomes:number
plugin?
Section titled “plugin?”
optionalplugin:DevtoolsPlugin
Defined in: packages/devtools/src/headless/record.ts:53
Outcomes come from here; [] without it.
redact()?
Section titled “redact()?”
optionalredact: (bundle) =>SessionBundle
Defined in: packages/devtools/src/headless/record.ts:57
Runs once, at export, on a copy of the whole bundle.
Parameters
Section titled “Parameters”bundle
Section titled “bundle”Returns
Section titled “Returns”subFlows?
Section titled “subFlows?”
optionalsubFlows:Readonly<Record<string,FlowDefinition>>
Defined in: packages/devtools/src/headless/record.ts:55
Copied into the bundle so it replays alone.