feat(core,utils): 新增CoreDriver基础操作,更新文档
- 新增 switch_to_webview/switch_to_native 切换视图。 - 新增 config_loader.py 配置文件系统 - 优化 conftest.py,支持获取设备信息和默认参数。 - 优化 run_appium.py - 更新 README.md - 其他优化
This commit is contained in:
19
config/caps.yaml
Normal file
19
config/caps.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
# Appium Capabilities Configuration
|
||||
android:
|
||||
platformName: "Android"
|
||||
automationName: "uiautomator2"
|
||||
deviceName: "Android"
|
||||
appPackage: "com.manu.wanandroid"
|
||||
appActivity: "com.manu.wanandroid.ui.main.activity.MainActivity"
|
||||
noReset: false
|
||||
newCommandTimeout: 60
|
||||
# udid: "emulator-5554" # Can be injected via CLI
|
||||
|
||||
ios:
|
||||
platformName: "iOS"
|
||||
automationName: "XCUITest"
|
||||
deviceName: "iPhone 14"
|
||||
bundleId: "com.example.app"
|
||||
autoAcceptAlerts: true
|
||||
waitForQuiescence: false
|
||||
newCommandTimeout: 60
|
||||
Reference in New Issue
Block a user