appium按位置录制脚本

使用Appium进行自动化测试时,尝试通过位置录制脚本调节设备亮度并点击屏幕空白区域,但遇到错误:"Call to 'tap' failed...InvalidElementState - An element command could not be completed because the element is in an invalid state"。已尝试重启Appium、模拟器和电脑,问题依旧存在,无论是直接在Appium中操作还是通过Python代码执行都会报相同错误。寻求解决方案。
摘要由CSDN通过智能技术生成

appium按位置录制脚本调节亮度后点击空白位置报错

Call to 'tap' failed

[performTouchAction([{"action":"tap","options":{"x":346,"y":991}}])] Error response status: 12, , InvalidElementState - An element command could not be completed because the element is in an invalid state (e.g. attempting to click a disabled element). Selenium error: Click failed at (346, 991) coordinates

1、打开  设置

2、点击  显示

3、点击  亮度

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值