# startRecording

Canonical: <https://test-proxy-recorder.dev/docs/reference/api/functions/startrecording/>
Docs index: <https://test-proxy-recorder.dev/docs/> · All docs as one file: <https://test-proxy-recorder.dev/llms-full.txt>

---

> **startRecording**(`testInfo`): `Promise`\<`void`\>

Defined in: [playwright/index.ts:177](https://github.com/asmyshlyaev177/test-proxy-recorder/blob/d1bacb3b39a3cf6f7f5a5391a8201868e4629861/packages/test-proxy-recorder/src/playwright/index.ts#L177)

Start recording for a test

## Parameters

### testInfo

[`PlaywrightTestInfo`](/docs/reference/api/type-aliases/playwrighttestinfo/)

Playwright test info object

## Returns

`Promise`\<`void`\>
