@puppeteer/replay / JSONStringifyExtension
Stringifies a user flow to JSON with source maps.
You probably want to strip the source map because not all parsers support comments in JSON.
-
↳
JSONStringifyExtension
• new JSONStringifyExtension(): JSONStringifyExtension
StringifyExtension.constructor
▸ afterAllSteps(out
): Promise
<void
>
Name | Type |
---|---|
out |
LineWriter |
Promise
<void
>
StringifyExtension.afterAllSteps
▸ afterEachStep(out
, step
, flow?
): Promise
<void
>
Name | Type |
---|---|
out |
LineWriter |
step |
Step |
flow? |
UserFlow |
Promise
<void
>
StringifyExtension.afterEachStep
▸ beforeAllSteps(out
, flow
): Promise
<void
>
Name | Type |
---|---|
out |
LineWriter |
flow |
UserFlow |
Promise
<void
>
StringifyExtension.beforeAllSteps
▸ beforeEachStep(out
, step
, flow?
): Promise
<void
>
Name | Type |
---|---|
out |
LineWriter |
step |
Step |
flow? |
UserFlow |
Promise
<void
>
StringifyExtension.beforeEachStep
▸ stringifyStep(out
, step
, flow?
): Promise
<void
>
Name | Type |
---|---|
out |
LineWriter |
step |
Step |
flow? |
UserFlow |
Promise
<void
>