StrikekitStrikekit

capture screenshot

Capture a PNG screenshot under the scenario screenshots folder

Write a full-page PNG beside the .stk file under screenshots/.

Syntax

Then I capture screenshot "<basename>"

Examples

Then I capture screenshot "checkout-step"

Writes {stk-dir}/screenshots/checkout-step.png (creates the directory).

Notes

  • Basename only — reject /, \, and ...
  • Optional .png suffix is added if omitted.
  • No visual diff in v1 (capture only).
  • Does not use action-resolve auto-wait (page-level op).
  • Web only for v1.

On this page