@puppeteer/replay / Runner
• set
flow(flow
): void
Name | Type |
---|---|
flow |
UserFlow |
void
▸ abort(): void
void
▸ run(): Promise
<boolean
>
Run all the steps in the flow
Promise
<boolean
>
whether all the steps are run or the execution is aborted
▸ runAfterAllSteps(flow?
): Promise
<void
>
Name | Type |
---|---|
flow? |
UserFlow |
Promise
<void
>
▸ runBeforeAllSteps(flow?
): Promise
<void
>
Name | Type |
---|---|
flow? |
UserFlow |
Promise
<void
>
▸ runStep(step
): Promise
<void
>
Runs the provided step
with beforeEachStep
and afterEachStep
hooks.
Parameters from the flow
apply if the flow
is set.
Name | Type |
---|---|
step |
Step |
Promise
<void
>