android-midscene-automation 0.1.14 → 0.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # 更新记录
2
2
 
3
+ ## v0.1.15
4
+
5
+ - README 新增 Midscene 与 Appium 两种测试方式对比,明确 Midscene 必须配置模型,Appium 不依赖模型。
6
+ - README 环境要求补充 Appium 3.x、UiAutomator2 Driver 的安装与启动说明。
7
+
3
8
  ## v0.1.14
4
9
 
5
10
  - 参数配置新增 Android SDK 路径和 Appium 回放报告目录;留空时分别读取系统默认 SDK 和启动目录下的 `output`。
package/README.md CHANGED
@@ -18,8 +18,18 @@ Appium 方案完全不依赖大模型,不需要填写 Base URL、API Key、Mod
18
18
  - Node.js 18+
19
19
  - npm
20
20
  - Android SDK / ADB,移动端自动化测试需要
21
+ - Appium 3.x 和 UiAutomator2 Driver,仅 Appium 录制回放方式需要
21
22
  - Playwright Chromium,Web 示例脚本需要
22
23
 
24
+ 安装 Appium 相关依赖:
25
+
26
+ ```sh
27
+ npm install -g appium@3.5.0
28
+ appium driver install uiautomator2
29
+ ```
30
+
31
+ 使用 Appium 方式前需要运行 `appium` 启动服务;只使用 Midscene 时不需要安装或启动 Appium。
32
+
23
33
  ## 启动
24
34
 
25
35
  ```sh
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "android-midscene-automation",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "android-midscene-automation": "./bin/android-midscene-automation.js"