appium=1.9.0
android设备
windows 10
对一个元素的长按压不起作用
我已经尝试过:
org.openqa.selenium.InvalidArgumentException:参数不正确。我们需要{“必需”:“操作”},而您发送了“元素”
java.lang.ClassCastException: com.sun.proxy.$Proxy16不能转换到io.appium.java_client.touch.LongPressOptions
错误:
java.lang.ClassCastException:无法将com.sun.proxy.$Proxy16转换为org.openqa.selenium.internal.HasIdentity
发布于 2019-09-04 12:10:34
不要在“按下”中传递元素,而是传递元素的坐标,检查下面的代码
此代码应保存该元素20秒。
https://stackoverflow.com/questions/55933460
复制相似问题