bytedance / bytedance/Fastbot_Android

max.xpath.actions 不生效

Open
#282 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.2k
Forks
264
PR merge metrics
No merged PRs in 30d

Description

配置了 max.xpath.actions, 并且 adb push max.xpath.actions /sdcard,运行fastbot后并没有生效配置内容
[
{
"prob": 1,
"activity":"com.game.ui.MDMainActivity",
"times": 1,
"actions": [
{
"xpath":"//*[@resource-id='com.game.friends.android:id/soundWave']",
"action": "CLICK",
"throttle": 500
}
]
},
{
"prob": 1,
"activity":"com.game.voiceroom.ui.VoiceRoomActivity",
"times": 1,
"actions": [
{
"xpath":"//*[@resource-id='com.game.friends.android:id/id_voice_room_country_iv']",
"action": "CLICK",
"throttle": 500
},
{
"xpath":"//*[@resource-id='com.game.friends.android:id/bgView']",
"action": "CLICK",
"throttle": 500
},
{
"xpath":"//*[@resource-id='com.game.friends.android:id/giftImage']",
"action": "CLICK",
"throttle": 500
},
{
"xpath":"//*[@resource-id='com.game.friends.android:id/id_send_gift_layout']",
"action": "CLICK",
"throttle": 500
}
]
}
]

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.