feat: one-click Windows setup scripts + fix Appium v3 commands in docs

- scripts/setup_execute_env.bat: auto-detect Android SDK, set PATH permanently, validate all deps
- scripts/start_appium.bat: one-click Appium Server startup with v3-compatible params
- Fix all 'appium --allow-insecure' commands for Appium v3 (driver:feature format)
- Add Windows quick-start section to EXECUTE_SETUP_GUIDE.md
This commit is contained in:
xst
2026-07-10 15:13:09 +08:00
parent d37017534d
commit b958b75899
3 changed files with 231 additions and 10 deletions
+21
View File
@@ -0,0 +1,21 @@
@echo off
echo ==========================================
echo 启动 Appium Server
echo ==========================================
echo.
:: 自动探测 adb 设备
adb devices 2>nul | findstr "device$" >nul
if %errorlevel% neq 0 (
echo [WARN] 未检测到 Android 设备/模拟器
echo 请先运行: emulator -avd test_device
echo 或连接 Android 真机
echo.
)
:: Appium v3 格式: 驱动名:功能名
echo [INFO] 启动 Appium Server...
echo [INFO] 支持 chromedriver 自动下载(WebView/H5 测试需要)
echo.
appium --allow-insecure "uiautomator2:chromedriver_autodownload"