playwright-cdp skillB
playwright-cdp is agent-read markdown (skill) from xtieume/testcase: Use when pulling a requirement out of Notion or Slack into local markdown — body, every comment, and the attachments — because the decisions live in the comments and the attachments expire. Covers the case where there is no API token (company workspace, no integration allowed), the UI Export button is disabled or missing by permission, and access exists only through a logged-in browser. Also use when a scrape produced wrong markdown (tables repeated, cells duplicated, sidebar text in the body), .
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Playwright CDP ## Overview Read Notion pages and Slack threads into local markdown, by calling each service's own web API from inside a browser that is already logged in. Core principle: **do not scrape the DOM, and do not copy a browser profile.** Attach over the Chrome DevTools Protocol (CDP) to a browser this skill owns, then call the same endpoints the web app itself calls. For GitHub there is nothing to build: `gh pr view <n> --json body,comments,reviews` and `gh api repos/<repo>/pulls/<n>/comments` already return everything, with credentials `gh` holds. Use those directly. Reading is the main job and touches nothing: those endpoints only fetch data or produce a download. **`slack-post.mjs` is the one exception — it writes.** See *Posting to Slack* below before using it. ## What comes out The same shape for both sources, per document: ``` <out>/ <Name>.md # body <Name>.comments.md # every comment, numbered #1..#n, anchored <a id="c-n"> assets/<Name>/ # attachments, downloaded ``` The reason for that shape, and the thing to preserve in any new extractor: …
Read the whole file at its exact version.
How to install
mdr add xtieume/testcase/playwright-cdp@git:20260923.6a5e63bmdr add xtieume/testcase/playwright-cdp@sha256:f095f80ea38f7955Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_q2wkkwepcx4efeuo)
0 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260923.6a5e63b latest | 2026-09-23 | 6a5e63b | 13,402 B | B | view · diff |
| git:20260923.f7078fc | 2026-09-23 | f7078fc | 11,692 B | B | view |
Audit of the latest version
- fail: No link to a raw IP address (matched: http://127.0.0.1:9222)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (13402 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No script tag
Source
xtieume/testcase · 3 stars · license MIT · pushed 2026-09-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_q2wkkwepcx4efeuo GET https://markdownregistry.com/api/v1/resolve?ref=xtieume/testcase/playwright-cdp GET https://markdownregistry.com/api/v1/blob/f095f80ea38f7955d4d1ad591696a731e43bf17771135260b79d0cb44a737383
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.