Skip to content

chore(deps): update dependency @playwright/cli to v0.1.5#158

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/playwright-cli-0.x-lockfile
Open

chore(deps): update dependency @playwright/cli to v0.1.5#158
renovate[bot] wants to merge 1 commit intomainfrom
renovate/playwright-cli-0.x-lockfile

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Mar 31, 2026

This PR contains the following updates:

Package Change Age Confidence
@playwright/cli (source) 0.1.10.1.5 age confidence

Release Notes

microsoft/playwright-cli (@​playwright/cli)

v0.1.5

Compare Source

What's New

Pipe CLI Output with --raw

The new global --raw flag strips page status, generated code, and snapshot sections from the output, returning only the result value. Use it to pipe command output into other tools:

playwright-cli --raw eval "JSON.stringify(performance.timing)" | jq '.loadEventEnd - .navigationStart'
playwright-cli --raw eval "JSON.stringify([...document.querySelectorAll('a')].map(a => a.href))" > links.json

TOKEN=$(playwright-cli --raw cookie-get session_id)
playwright-cli --raw localstorage-get theme

playwright-cli --raw snapshot > before.yml
playwright-cli click e5
playwright-cli --raw snapshot > after.yml
diff before.yml after.yml

Commands that don't produce output return nothing.


Attach to Browser via CDP

The attach command now supports connecting to an existing browser via a CDP endpoint URL:

playwright-cli attach --cdp=http://localhost:9222

This makes it easy for coding agents to connect to a browser that's already running (e.g. a dev browser or a remote debugging target) without launching a new one.


attach --extension Replaces open --extension

Connecting to a browser via the Playwright MCP Bridge extension has moved from open to the dedicated attach command. You can also specify the browser:

playwright-cli attach --extension
playwright-cli attach --extension=chrome
playwright-cli attach --extension=msedge

Bug Fixes
  • tab-new now navigates to the URL when provided — previously playwright-cli tab-new https://example.com opened a blank tab instead of navigating.
  • list command no longer fails when workspaceDir is undefined — fixes a crash when running playwright-cli list outside a workspace.

v0.1.4

Compare Source

  • chore: roll Playwright to 1.60.0-alpha-1775061447000

v0.1.3

Compare Source

  • Maintenance release off 1.59 branch point

v0.1.2

Compare Source

What's New

🎬 Richer Video Recording

The video-start / video-chapter / video-stop commands now support action annotations and chapter markers backed by the new page.screencast API:

playwright-cli open https://demo.playwright.dev/todomvc

playwright-cli video-start receipt.webm
playwright-cli video-chapter "Adding Todo Items" --description="We will add several items to the todo list." --duration=2000

playwright-cli fill e8 "Buy groceries"
playwright-cli press Enter

playwright-cli video-stop

See the video recording reference for full examples.


🤖 CLI Debugger

[!NOTE]
Requires @playwright/test v1.59 or later.

Coding agents can now attach to a running Playwright test for interactive debugging. Run the test with --debug=cli, then attach with playwright-cli:

$ npx playwright test --debug=cli

### Debugging Instructions
- Run "playwright-cli attach tw-87b59e" to attach to this test

$ playwright-cli attach tw-87b59e

### Session `tw-87b59e` created, attached to `tw-87b59e`.
### Paused
- Navigate to "/" at tests/example.spec.ts:4

$ playwright-cli --session tw-87b59e step-over

### Paused
- Expect "toHaveTitle" at tests/example.spec.ts:7

This pairs playwright-cli's browser control with Playwright's test runner — perfect for automatically diagnosing and fixing failing tests in agentic workflows.


🌐 Network State & Request Inspection

Offline mode — simulate network connectivity loss for testing offline scenarios:

playwright-cli network-state-set offline

# ... test your app's offline behavior ...
playwright-cli network-state-set online

Richer network output — filter requests by URL pattern and optionally include headers and request bodies:

# Filter to API requests only
playwright-cli network --filter="/api/.*"

# Include request headers and body for inspection
playwright-cli network --filter="/api/.*" --request-headers --request-body

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 31, 2026

Preview deployment

Preview is live at: https://klickhaus.aemstatus.net/preview/pr-158/dashboard.html

Updated for commit 8cbdde1

@renovate renovate bot changed the title chore(deps): update dependency @playwright/cli to v0.1.2 chore(deps): update dependency @playwright/cli to v0.1.3 Apr 1, 2026
@renovate renovate bot force-pushed the renovate/playwright-cli-0.x-lockfile branch from 9f95bd5 to 705b7fd Compare April 1, 2026 02:36
@renovate renovate bot changed the title chore(deps): update dependency @playwright/cli to v0.1.3 chore(deps): update dependency @playwright/cli to v0.1.4 Apr 1, 2026
@renovate renovate bot force-pushed the renovate/playwright-cli-0.x-lockfile branch from 705b7fd to 40bcea8 Compare April 1, 2026 21:58
@renovate renovate bot changed the title chore(deps): update dependency @playwright/cli to v0.1.4 chore(deps): update dependency @playwright/cli to v0.1.5 Apr 3, 2026
@renovate renovate bot force-pushed the renovate/playwright-cli-0.x-lockfile branch from 40bcea8 to 2512dc7 Compare April 3, 2026 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants