这是Appium bug,还是我做错了什么?更新
我在这个问题上花了更多的时间。如果您增加了任何一个变量,脚本就会如预期的那样在:Script threw an uncaught JavaScript error: tap point is not within the boundsof the screen on line 8 of New Script中失败。这意味着Appium一定是在发送 This
我为我的iOS应用程序编写了Appium测试。有些测试具有这样的工作流:我的环境:我尝试过这样的代码(Python),它不做“强制触摸”:
self.driver.background_app(-1) # this works: sends an app to backround使用了driver.executeScript("mob