Record Requests
record-requests starts capturing network requests that match a pattern. A later get-recorded-requests step reads the buffer and an assertion checks it.
yaml
- record-requests:
as: checkout_calls
url: /api/checkout/*as: name the recording so you can reference it.url: glob or regex for URLs to capture.method: optional HTTP method filter.