playwrightnetworkharrecorder
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "playwrightnetworkharrecorder" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-d5247442b015d3331d6c08acd0fbe973edb781827c1345f5f3bccf14ed11b959. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/playwright-network-har-recorder before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Use Playwright’s routeFromHAR API to record and replay HTTP Archive (HAR) files to achieve deterministic test environments. This capability supports selective recording, response modification, and generating API mocks.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "Playwright Network HAR Recorder"
slug: "playwright-network-har-recorder"
version: "1.0.0"
displayName: "Playwright Network HAR Recorder"
summary: "使用 Playwright 的 routeFromHAR API 来录制和回放 HTTP Archive (HAR) 文件,以实现确定性的测试环境。支持选择性录制、响应修改和 API 模拟生成。"
license: "MIT"
description: "使用 Playwright 的 routeFromHAR API 来记录和重放 HTTP Archive (HAR) 文件,以实现确定性的测试环境。支持选择性录制、响应修改和 API 模拟生成。"
github_stars: 86409
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Browser Automation"
framework: "Codex"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 86409
npm_package: "playwright"
npm_weekly_downloads: 47883561Playwright Network HAR Recorder
Records and replays HTTP Archive (HAR) files using Playwright routeFromHAR API for deterministic test environments. Supports selective recording, response modification, and API mock generation.
Installation
Use the upstream install or setup path that matches your environment:
- npm install -g @playwright/cli@latest
- npm i playwright
Requirements and caveats from upstream:
Basic usage or getting-started notes:
-
bash
-
Optionally install skills for richer agent integration:
-
playwright-cli install --skills
-
Extracted from upstream docs: https://raw.githubusercontent.com/microsoft/playwright/HEAD/README.md
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Areas to improve
-
缺少具体使用示例 Reported severity: Minor
文档未提供具体的 HAR 录制和回放操作示例,用户难以理解实际使用流程。
Recommendation: 补充具体的命令行示例和代码片段,展示如何录制 HAR 文件、如何重放以及如何进行响应修改。
-
缺少参数说明 Reported severity: Minor
未说明 routeFromHAR API 的具体参数和使用方法。
Recommendation: 详细说明 routeFromHAR API 的参数含义、可选配置项及其作用。
Highlights
- 提供 Playwright HAR 录制与回放功能,适用于确定性测试环境
- 支持选择性录制、响应修改和 API 模拟生成,功能较为全面
Areas to improve
-
触发词不完整 Reported severity: Minor
description 描述了功能但未提供具体触发关键词,用户难以通过自然语言精准触发。
Recommendation: 在 description 中添加具体的触发关键词,如 '录制 HAR'、'回放 HAR'、'API 模拟' 等。
Highlights
- description 清晰描述了核心功能:使用 Playwright routeFromHAR API 记录和重放 HAR 文件
Areas to improve
-
缺少详细使用步骤 Reported severity: Minor
文档仅包含安装和基础使用说明,缺少具体的操作步骤和流程说明。
Recommendation: 添加详细的使用步骤,包括录制、回放、修改响应等具体操作流程。
-
缺少出口条件说明 Reported severity: Minor
未说明 Skill 执行完成后的状态或如何验证执行结果。
Recommendation: 补充执行完成后的验证方法和预期结果说明。
Highlights
- frontmatter 完整,包含必要的元数据信息
- 文档结构基本清晰,包含 Installation 和 Basic usage 章节
Areas to improve
-
缺少异常处理说明 Reported severity: Minor
未说明在 HAR 文件不存在、格式错误或网络异常等情况下的处理方式。
Recommendation: 补充异常处理机制说明,包括错误提示和恢复方案。
Highlights
- 依赖的 playwright npm 包来源明确,版本信息清晰
- 提供了基本的安装和使用说明
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 28, 29
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- playwright.dev
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.