change: update docs

This commit is contained in:
lilong.129
2025-06-28 22:03:22 +08:00
parent ed0b915904
commit 8ef9b86fd1
32 changed files with 115 additions and 189 deletions

View File

@@ -8,7 +8,13 @@
"android": [
{
"serial": "$device",
"log_on": true
"log_on": true,
"adb_server_host": "localhost",
"adb_server_port": 5037,
"uia2_ip": "localhost",
"uia2_port": 6790,
"uia2_server_package_name": "io.appium.uiautomator2.server",
"uia2_server_test_package_name": "io.appium.uiautomator2.server.test"
}
]
},
@@ -16,6 +22,7 @@
{
"name": "启动抖音",
"android": {
"os_type": "android",
"actions": [
{
"method": "app_terminate",
@@ -33,7 +40,7 @@
"params": "抖音",
"options": {
"max_retry_times": 5,
"offset": [
"tap_offset": [
0,
-50
]
@@ -57,6 +64,7 @@
{
"name": "点击放大镜",
"android": {
"os_type": "android",
"actions": [
{
"method": "tap_xy",
@@ -64,9 +72,7 @@
0.9,
0.08
],
"options": {
}
"options": {}
},
{
"method": "sleep",
@@ -78,13 +84,12 @@
{
"name": "输入账号名称",
"android": {
"os_type": "android",
"actions": [
{
"method": "input",
"params": "$ups",
"options": {
}
"options": {}
},
{
"method": "sleep",
@@ -96,13 +101,12 @@
{
"name": "点击搜索",
"android": {
"os_type": "android",
"actions": [
{
"method": "tap_ocr",
"params": "搜索",
"options": {
}
"options": {}
},
{
"method": "sleep",
@@ -113,14 +117,16 @@
},
{
"name": "端到端采集",
"loops": 5,
"android": {
"os_type": "android",
"actions": [
{
"method": "tap_ocr",
"params": "直播中",
"options": {
"ignore_NotFoundError": true,
"index": -1
"index": -1,
"ignore_NotFoundError": true
}
},
{
@@ -139,8 +145,7 @@
}
}
]
},
"loops": 5
}
}
]
}