android tap事件无效,[已解决] appium click 事件不触发

> info:

> info: --> POST /wd/hub/session/b4d7a4da-35f1-479b-a60c-195f9515fb3a/element {"using":"xpath","sessionId":"b4d7a4da-35f1-479b-a60c-195f9515fb3a","value":"//android.view.View[contains(@content-desc,\"娴烽噾绀剧2鏈焅")]"}

> info: [debug] Waiting up to 0ms for condition

> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"xpath","selector":"//android.view.View[contains(@content-desc,\"娴烽噾绀剧2鏈焅")]","context":"","multiple":false}]

> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.view.View[contains(@content-desc,\"娴烽噾绀剧2鏈焅")]","context":"","multiple":false}}

> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION

> info: [debug] [BOOTSTRAP] [debug] Got command action: find

> info: [debug] [BOOTSTRAP] [debug] Finding //android.view.View[contains(@content-desc,"娴烽噾绀剧2鏈?)] using XPATH with the contextId: multiple: false

> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.view.View, INSTANCE=4]

> info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"2"}}

> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"2"},"sessionId":"b4d7a4da-35f1-479b-a60c-195f9515fb3a"}

> info:

> info: --> POST /wd/hub/session/b4d7a4da-35f1-479b-a60c-195f9515fb3a/element/2/click {"sessionId":"b4d7a4da-35f1-479b-a60c-195f9515fb3a","id":"2"}

> info: [debug] Pushing commandto appium work queue: ["element:click",{"elementId":"2"}]

> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"2"}}

> info: [debug] [BOOTSTRAP] [debug] Got commandof typeACTION

> info: [debug] [BOOTSTRAP] [debug] Got commandaction: click

> info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}

> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"b4d7a4da-35f1-479b-a60c-195f9515fb3a"}

> info:

> info: --> POST /wd/hub/session/b4d7a4da-35f1-479b-a60c-195f9515fb3a/touch/perform {"sessionId":"b4d7a4da-35f1-479b-a60c-195f9515fb3a","actions":[{"action":"longPress","options":{"y":500,"x":500,"duration":500}},{"action":"release","options":{}}]}

> info: [debug] Pushing commandto appium work queue: ["element:touchLongClick",{"x":500,"y":500,"duration":500}]

> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:touchLongClick","params":{"x":500,"y":500,"duration":500}}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值