🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@panerelay/playwright

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@panerelay/playwright

Connect Playwright CLI to current-tab or all-supported-tabs authorization through Panerelay.

Source
npmnpm
Version
0.7.0
Version published
Weekly downloads
758
Maintainers
2
Weekly downloads
 
Created
Source

@panerelay/playwright

Optional connection adapter for attaching the upstream Playwright CLI to an existing Chrome or Microsoft Edge session through Panerelay. Choose the current tab for focused work or all supported web tabs for cross-page workflows; active control remains separately visible and releasable. Chrome is the verified baseline; Edge remains Forwarded pending its complete command matrix.

Setup and use

Install Playwright CLI 0.1.17 or newer separately, then run:

npx --yes @panerelay/setup --playwright
npx --yes @panerelay/setup doctor --playwright
playwright-cli attach --cdp http://127.0.0.1:43827/cdp/playwright
playwright-cli tab-list
playwright-cli tab-select <tab-id-from-tab-list>
playwright-cli tab-list
playwright-cli snapshot

Choose the intended authorized tab ID from the first tab-list result. After tab-select, run tab-list again and confirm the intended tab is selected before continuing.

New Side Panel conversations may instead inject a reserved -s=panerelay-tab-v1-... session and a target-scoped /cdp/playwright/target/... attach URL. Use both exact values, then run tab-list, tab-select 0, and tab-list again. Panerelay validates the opaque browser/target pair against the current authorized inventory and exposes that page first without changing Playwright CLI. A stale or unauthorized target fails closed; do not retry through the unscoped URL or match URL/title.

The setup package verifies the upstream executable and installs only Panerelay-owned adapter metadata. It does not install a shim, modify PATH or shell startup files, write .playwright/cli.config.json, set Playwright as a default, or manage an Agent Skill. The independently installed panerelay-browser Skill contains the Playwright workflow.

For explicit user-managed configuration, set PLAYWRIGHT_MCP_CDP_ENDPOINT=http://127.0.0.1:43827/cdp/playwright or configure browser.cdpEndpoint in .playwright/cli.config.json.

The connection exposes the authorization scope selected in Panerelay: the current tab or all supported existing Chromium tabs. Isolated BrowserContexts, browser launch options, proxy ownership, and whole-browser close are unsupported and fail explicitly.

  • Playwright CLI 0.1.17 compatibility record
  • @panerelay/setup reference

FAQs

Package last updated on 04 Aug 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts