playwright-cli
使用 Playwright CLI 檢查網頁
當選擇器、同意橫幅或頁面流程不清楚時,瀏覽器測試設定可能會失敗。此技能會引導 Claude、Codex 和 Claude Code 透過 Playwright CLI 進行檢查,並執行可重複的自動化步驟。
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "playwright-cli" from https://skillstore.io/skills/screenci-playwright-cli.md and its manifest at https://skillstore.io/api/skills/screenci-playwright-cli/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
Agent 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「playwright-cli」。 檢查登入頁面,並找出提交動作最安全的選擇器。
預期結果:
一份精簡報告,包含頁面標題、同意橫幅動作、提交控制項選擇器,以及建議的下一個檢查步驟。
正在使用「playwright-cli」。 比較產品頁面在開啟購物車抽屜前後的差異。
預期結果:
一份變更摘要,指出抽屜區域、主要控制項、更新後文字,以及適合測試使用的選擇器。
正在使用「playwright-cli」。 為含有 cookie 橫幅的行銷頁面準備 ScreenCI 流程。
預期結果:
一份工作流程大綱,包含隱藏的同意處理、可見示範步驟,以及可能脆弱的選擇器備註。
安全審計
中風險All 37 static findings are false positives caused by Markdown code formatting, expected browser commands, benign example URLs, and a comment. One medium semantic risk remains: the fallback installation uses a mutable package version globally, increasing supply-chain and host impact.
已確認的安全問題 (1)
風險因素
⚙️ 外部命令 (29)
分享與引用此報告
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/screenci-playwright-cli/audits/3?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/screenci-playwright-cli?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/screenci-playwright-cli?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/screenci-playwright-cli/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/screenci-playwright-cli.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>學術引用 (APA · BibTeX · CFF)
APA 引用
screenci. (2026). playwright-cli security audit report (audit version 3) [Author version unspecified]. Skillstore. https://skillstore.io/skills/screenci-playwright-cli/audits/3BibTeX 引用
@techreport{screenci-screenci-playwright-cli-2026,
author = {screenci},
title = {playwright-cli security audit report (audit version 3)},
institution = {Skillstore},
year = {2026},
number = {3},
url = {https://skillstore.io/skills/screenci-playwright-cli/audits/3},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "playwright-cli security audit report (audit version 3)"
version: "unspecified"
type: report
authors:
- name: "screenci"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/screenci-playwright-cli/audits/3"
identifiers:
- type: other
value: "skillstore:screenci-playwright-cli:audit:3"
description: "Skillstore immutable audit report identifier"
比較變體
2 個可安裝變體每位作者的技能都保留為獨立的可安裝項目。推薦變體依 Skillstore 證據排序。
為何此變體排名第一
Skillstore 評分
評分依據 證據置信度: 中你可以打造什麼
準備 ScreenCI 瀏覽器流程
檢查即時網站、尋找穩定的選擇器,並在撰寫 ScreenCI script 之前規劃隱藏的設定步驟。
偵錯網頁測試選擇器
當瀏覽器測試失敗或頁面結構變更時,擷取快照並測試定位器。
探索前端互動路徑
導覽頁面、點擊控制項,並比較快照以了解介面如何變化。
試試這些提示
使用 playwright-cli 開啟瀏覽器,前往 [URL],擷取快照,並摘要主要頁面區段與可見按鈕。
使用 playwright-cli 檢查 [URL]。尋找登入流程的穩定選擇器,並識別任何 cookie 同意步驟。
使用 playwright-cli 快照來比較點擊 [control] 前後的頁面。回報已變更的區域與可能的選擇器。
使用 playwright-cli 為 [URL] 建立 ScreenCI 設定計畫。包含隱藏的同意處理、工作階段步驟,以及可見示範的選擇器。
最佳實務
- 在執行會提交表單的動作之前,請使用 staging URL 或測試帳號。
- 在將選擇器寫入測試之前,於每個主要動作後檢閱快照。
- 工作流程完成後關閉瀏覽器工作階段。
避免
- 未確認套件來源與版本前,請勿執行套件安裝命令。
- 請勿在未知或第三方頁面輸入正式環境憑證。
- 當可使用 accessible roles 或 test ID 時,請勿依賴脆弱的位置型選擇器。