Skip to content

timestamp

timestamp(name): Promise<void>

Defined in: timestamp.ts:18

Marks a named point in the recording timeline.

The marker has no effect on the rendered output: it only records the current moment under the given name so the web editor can surface it on its own timeline row. Call it as many times as you like; reusing a name is allowed (each call is a distinct marker).

string

Promise<void>

await timestamp('checkout-opened')
await page.getByRole('button', { name: 'Pay' }).click()
await timestamp('payment-done')