> ## Documentation Index
> Fetch the complete documentation index at: https://docs.testdino.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TestDino Playwright CLI Reporter

> Install and configure the TestDino Playwright Reporter CLI to upload test results from local runs or CI, with Node.js and Python options.

The TestDino Reporter CLI uploads Playwright test reports, artifacts, and metadata to TestDino from local machines or CI pipelines. Pick the package that matches your test stack and workflow.

## Available CLIs

<div className="integration-cards">
  <CardGroup cols={2}>
    <Card title="Node.js" img="https://mintcdn.com/testdino/JwytUEY7x2_fx041/images/nodejs.svg?fit=max&auto=format&n=JwytUEY7x2_fx041&q=85&s=6018d76ebcfc41e3c721e4430a629597" href="/cli/testdino-playwright-nodejs" width="256" height="289" data-path="images/nodejs.svg">
      `tdpw` — for Playwright with Node.js
    </Card>

    <Card title="Python" img="https://mintcdn.com/testdino/JwytUEY7x2_fx041/images/python.svg?fit=max&auto=format&n=JwytUEY7x2_fx041&q=85&s=32e3c29ea204ea44569eaf32efba468a" href="/cli/python" width="24" height="24" data-path="images/python.svg">
      `testdino` — for Playwright with pytest
    </Card>
  </CardGroup>
</div>

## Which package to install

TestDino ships three packages. The names differ by language and by whether you upload after a run or stream results live.

| Package                | Install                            | Command                               | Use it for                                           |
| :--------------------- | :--------------------------------- | :------------------------------------ | :--------------------------------------------------- |
| `tdpw`                 | `npm install tdpw`                 | `npx tdpw upload ./playwright-report` | Batch upload of JSON reports after a Node.js run     |
| `@testdino/playwright` | `npm install @testdino/playwright` | `npx tdpw test`                       | Real-time streaming that wraps the Playwright runner |
| `testdino`             | `pip install testdino`             | `testdino upload`                     | Upload from Playwright with pytest                   |

<Note>
  **Note**

  The `tdpw` command comes from both `tdpw` (upload) and `@testdino/playwright` (streaming). Install `@testdino/playwright` only if you want live streaming. For post-run uploads, `tdpw` is enough.
</Note>

## What the CLI Does

| Capability           | Description                                                  |
| :------------------- | :----------------------------------------------------------- |
| **Upload reports**   | Send JSON, HTML, screenshots, videos, and traces to TestDino |
| **Cache metadata**   | Store test execution data for intelligent reruns             |
| **Rerun failures**   | Retrieve previously failed tests to rerun only those         |
| **Collect Git info** | Automatically reads branch, commit, author, and repo URL     |
| **Collect CI info**  | Detects CI provider, build ID, and PR details                |
| **Tag runs**         | Attach environment and tags to a test run                    |

<Note>
  **Note**

  Git initialization is required. The CLI reads commit hash, branch name, and author information from your repository.
</Note>
