Kind: Function
Convert a single ScreenshotSpec into a ScreenshotMapping.
Translates captureType-specific metadata (modal, tab, form) into concrete action sequences that the screenshot capturer can execute.
Signature
tsfunction convertSpecToMapping(spec: ScreenshotSpec): ScreenshotMapping
Parameters
| Name | Type |
|---|---|
spec | ScreenshotSpec |
Returns: ScreenshotMapping
Was this page helpful?