Skip to content

redactStepValue

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/apps/api/src/capture/capture.redact.ts

Redact a single step's value in place-safe (returns a new value string or undefined). Applies to input/submit actions only.

Signature

ts
function redactStepValue(step: {
  action?: string;
  value?: string;
  selector?: string;
  elementRole?: string;
  elementText?: string;
}): string | undefined

Parameters

NameType
step`{
action?: string;
value?: string;
selector?: string;
elementRole?: string;
elementText?: string;
}`

Returns: string | undefined

Was this page helpful?

Download as PDF