Web应用测试
原名:webapp-testing
使用 Playwright 与本地 Web 应用交互和测试的工具包。支持验证前端功能、调试 UI 行为、捕获浏览器截图及查看浏览器日志。
- 分类
- 开发提效
- 版本
- v1.0.0
- 作者
- 弈韬(@ra1nzzz)
- 下载
- 3
- 收藏
- 0
- 发布
- 2026-08-17
- 更新
- 2026-08-18
- TRACE 评分
- 3 / 5
内容概览
To test local web applications, write native Python Playwright scripts. Helper Scripts Available : - scripts/with server.py - Manages server lifecycle (supports multiple servers) Always run scripts with --help first to see usage. DO NOT read the source until you try running the script first and find that a customized solution is abslutely necessary. These scripts can be very large and thus pollute your context window. They exist to be called directly as black-box scripts rather than ingested into your context window. To start a server, run --help first, then use the helper: Single server: Multiple servers (e.g., backend + frontend): To create an automation script, include only Playwright logic (servers are managed automatically): 1. Inspect rendered DOM : 2. Identify selectors from inspection results 3. Execute actions using discovered selectors ❌ Don't inspect the DOM before waiting for…