# Configuring artifact capture for Playwright tests

> Enable screenshots, videos, or traces on Playwright test results in Test Manager by updating your project's playwright.config.ts.

:::note
This capability is in controlled availability, delivered only to eligible tenants. It is available in Test Manager only when delivered through Test Cloud.
:::

Get screenshots, videos, or traces to appear on your Playwright test results in Test Manager, if they aren't showing up by default. For why this configuration lives in your project rather than in Test Manager, see [How Playwright artifact capture works](https://docs.uipath.com/test-manager/automation-cloud/latest/user-guide/how-playwright-artifact-capture-works).

## Prerequisites

* A Playwright automation already selected for a test case. See [Selecting automation](https://docs.uipath.com/test-manager/automation-cloud/latest/user-guide/selecting-automation).
* At least one execution already attempted.

## Steps

1. Open the project's `playwright.config.ts`.
2. Add or update the `use:` block to enable the artifact type you want, for example:

   ```ts
   use: { trace: 'on' }
   ```

   Replace `trace` with `screenshot` or `video` as needed.
3. Repackage the project. See [Packaging Playwright projects for Test Manager](https://docs.uipath.com/test-manager/automation-cloud/latest/user-guide/packaging-playwright-projects-for-test-manager).
4. Republish the package to Orchestrator.
5. Run the test again.

## Result

The next execution includes the newly enabled artifact type, visible on the execution's **Attempts** and **Trace** tabs.

## Related

* [How Playwright artifact capture works](https://docs.uipath.com/test-manager/automation-cloud/latest/user-guide/how-playwright-artifact-capture-works)
* [Playwright test automation](https://docs.uipath.com/test-manager/automation-cloud/latest/user-guide/playwright-test-automation)
