網頁應用程式測試

網頁應用程式測試

協助以 Python Playwright 檢查本機網頁。

Anthropic · 官方來源 · 測試與除錯

來源狀態

可用來源

資源類型

Skill

與類似 Skill 有什麼不同?

  • Playwright 網站測試

    Playwright 是瀏覽器工具的官方文件指南;Webapp Testing 是運用瀏覽器進行 Web 應用測試的技能流程。

來源描述的能力

這些是來源描述的可能操作,不代表 2lus 已授予權限或已測試。

尚未列出能力,請審查原始來源。

這個 Skill 是什麼?

將預期行為整理成可重現的瀏覽器檢查。

可以做什麼?何時適合使用?

  • 表單驗證
  • 導覽回歸
  • 前端錯誤排查

如何使用

  1. 確認允許啟動服務及測試的範圍。
  2. 觀察載入後 DOM,再選擇操作目標。
  3. 記錄實際結果、截圖與未執行項目。

使用前你需要準備

  • 預期與實際行為
  • 去識別化錯誤紀錄和相關程式

你可以替換:

[test framework]、[failure]

環境與相依需求

  • Python、Playwright、瀏覽器及已授權的測試環境。

使用範例與 Prompt

以下是 2lus 撰寫的示範需求;請替換為你有權處理的檔案與專案,不代表已執行或保證結果。

入門

為登入表單列出人工測試步驟,這次不要啟動瀏覽器。

實務

獲准後檢查 staging 搜尋空結果,保留畫面與 selector 證據。

進階

在隔離環境比較桌面與手機結帳錯誤流程,只用測試訂單,列出失敗原因與清理步驟。

實用提醒

  • 用專用測試帳號,不依賴易變的座標。

限制與注意事項

  • 無法代替完整整合測試;未執行不可標示通過。

安全注意事項

  • 測試可能提交資料或啟動服務;先核准寫入與清理範圍。

使用與設定

此條目不提供已確認的通用安裝指令;請依官方文件與 Agent 版本操作。

支援平台

Claude Code — 文件記載,未做實機相容性測試 官方文件 ↗

來源與授權

來源查核日期(非安全認證): 2026-09-29

Apache-2.0

原始來源 ↗ 授權條款 ↗ 官方文件 ↗

相關 Skills

使用第三方 Skill 前,請先檢查來源、權限與執行內容。安裝指令只供查看與複製,不會由 2lus 執行。

2lus AI Skills Library 提供 Skill 的整理與使用導覽。第三方 Skill 的內容、授權與可用性以原始來源為準。使用或安裝前,請自行確認其權限與執行內容。

Web Application Testing

Inspect local web applications with Python Playwright.

Anthropic · Official source · Testing & Debugging

Source status

Active source

Resource type

Skill

How is this different from similar skills?

  • Playwright

    Playwright is official browser-tool documentation; Webapp Testing is a skill workflow for testing web applications with a browser.

Documented capabilities

These are operations described upstream, not permissions granted or tested by 2lus.

Capabilities not declared here; review the original source.

What is this skill?

Translate expected behavior into reproducible browser checks.

Use cases and when to use it

  • Form validation
  • Navigation regression
  • Frontend error investigation

How to use it

  1. Confirm permission to start services and test.
  2. Inspect the rendered DOM before choosing targets.
  3. Record observed results, screenshots and unexecuted cases.

What you need

  • Expected and actual behavior
  • Redacted errors and relevant code

You can replace:

[test framework], [failure]

Environment and dependencies

  • Python, Playwright, a browser and an authorized test environment.

Usage and prompt examples

These example requests were written by 2lus. Substitute files and projects you may use; examples are not executed results or guarantees.

Beginner

List manual login-form checks without starting a browser.

Practical

With permission, inspect empty search results on staging and retain screenshot/selector evidence.

Advanced

Compare desktop and mobile checkout failures in isolation using test orders only; report causes and cleanup steps.

Tips

  • Use dedicated accounts and stable selectors, not coordinates.

Limitations

  • Not a substitute for full integration coverage; unexecuted checks cannot pass.

Security notes

  • Tests can submit data or start services; approve writes and cleanup first.

Usage and setup

No verified universal installation command is provided for this entry. Follow the official documentation for your agent version.

Supported agents

Claude Code — Documented; not runtime-tested Documentation ↗

Sources and license

Source check date (not a safety certification): 2026-09-29

Apache-2.0

Original source ↗ License terms ↗ Documentation ↗

Related skills

Before using a third-party skill, review its source, permissions and executable content. Commands are for viewing and copying only; 2lus does not execute them.

2lus AI Skills Library provides curated educational guides. Third-party content, licenses and availability are governed by their original sources. Review permissions and executable content before use or installation.