Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

test(playwright): probe playwright-cli attach --extension against a real signed-in Chrome on a local machine

Đang mở
#6,475 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
playwright, shell
Lĩnh vực
documentation, testing

Hướng nghiên cứu

Run the three probes as written: playwright-cli attach --extension=chrome from a Windows shell and from WSL2 against a signed-in Chrome with the Playwright extension installed, plus attach --cdp on a non-default profile with a debug port, recording command, OS/shell, Chrome version and exact error for each. Then read docs/adr/0056-verify-ui-with-linux-side-playwright-and-attach-produced-demo-evidence-to-prs.md (Open items and Alternatives considered) and context/e2e.md under testing:run-e2e to see where the result belongs: a rubric row for the logged-in-session case if a probe passes, otherwise an Alternatives-considered entry with the failure reason. The blocker is access to a local Windows machine with a signed-in Chrome profile — confirm you have that before starting, and check the linked issue comment for maintainer guidance.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

help wanted needs-triage priority: medium

Goal

Find out whether @playwright/cli 0.1.22's attach --extension (and attach --cdp) can drive the user's own signed-in Chrome on a local workstation, as a candidate for ADR 0056's "Needs a logged-in session" rubric row (now in testing:run-e2e context/e2e.md).

It cannot be tried from a cloud container: it needs a real Chrome profile with the Playwright browser extension installed, which only exists on a local machine.

What 0.1.22 documents

playwright-cli attach --help:

--cdp         connect to an existing browser via cdp endpoint url.
--extension   connect to browser extension, optionally specify browser name (e.g. --extension=chrome)
--session     session name (defaults to bound browser name or "default")
--idle-timeout  detach after this many milliseconds without a command. attached browsers are never detached by default.

Probes (run each and record pass/fail with the exact command and error)

  1. Windows shell, native Chrome: install the Playwright extension in the signed-in Chrome profile, run playwright-cli attach --extension=chrome, then goto a site the profile is signed in to, snapshot, and screenshot. Does it reuse the signed-in session? What consent prompt appears, and does it need a human click every time?
  2. WSL2 (NAT networking), same Windows Chrome: repeat probe 1 from WSL2. ADR 0056 notes Chrome 136+ ignores remote-debugging switches on the default profile, so --cdp to the default profile is expected to fail. Check whether --extension gets around that from WSL2.
  3. attach --cdp against a separate, non-default Chrome profile started with a debugging port (Windows shell, then WSL2 via the gateway IP). Record what works.

The former probe 4 (agent-browser on WSL2) is dropped: the 2026-10-07 benchmark found no reliability winner and agent-browser was not adopted, so it is no longer a candidate.

Done when

  • Each probe has a recorded result (command, OS/shell, Chrome version, outcome, error text).
  • If probe 1 or 2 passes, propose a rubric row for the logged-in-session case in testing:run-e2e (context/e2e.md) and an ADR 0056 note. If both fail, add them to ADR 0056 "Alternatives considered" with the reason.

Related

  • ADR 0056 (docs/adr/0056-verify-ui-with-linux-side-playwright-and-attach-produced-demo-evidence-to-prs.md), Open items: the Claude in Chrome from WSL live test needs the same machine and can run in the same sitting.
  • melodic-software/claude-code-plugins#6477 (the agent-browser vs playwright-cli benchmark, which deferred attach --extension and a Playwright MCP arm to this local probe).
Ngôn ngữ chính
Shell
Star
22
Fork
2
Merge trung bình
5 giờ 11 phút
Pull request đã merge (30 ngày)
838

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của melodic-software/claude-code-plugins

Tất cả issue của melodic-software/claude-code-plugins

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.