Files
AppAutoTest/pyproject.toml
CNWei a8d0b75dd9 feat(driver): 增加元素高亮截图功能并重构截图矩阵
- 新增 `_get_highlighted_image` 核心逻辑,支持自动缩放 (Scale) 适配。
- 新增 `get_highlight_screenshot_as_file/bytes` 接口,支持诊断级高亮截图。
- 重构 `get_screenshot_as_file/bytes` 统一命名规范。
- 引入 `ImagePath` 与 `ImageBytes` 类型别名,增强代码语义化。
- 优化内存管理,使用 `io.BytesIO` 与 `img.load()` 确保在高频截图下的稳定性。
2026-03-03 17:46:03 +08:00

20 lines
430 B
TOML

[project]
name = "appautotest"
version = "0.1.0"
description = "App自动化测试框架"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"allure-pytest==2.13.5",
"appium-python-client>=5.2.4",
"pytest>=8.3.5",
"PyYAML>=6.0.1",
"pytest-rerunfailures>=16.1",
"python-dotenv>=1.2.1",
"pillow>=12.1.1",
]
[[tool.uv.index]]
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
default = true