node.js - Appium-node.js - 我正在使用这个触摸功能并想点击这个特定的坐标。但它给了我一个错误
问题描述
driver.touchAction({actions: 'tap', x: 269, y: 1605})
错误:
未知错误:处理命令时发生未知的服务器端错误。原始错误:未知操作未定义
解决方案
请尝试使用:TouchAction action = new TouchAction(Mobiledriver); action.tap(PointOption.point(269, 1605)).perform().release();
推荐阅读
- asp.net-core-webapi - ASP.NET Core 2.1 中间件返回 404
- javascript - 加载内容时的角度加载动画
- php - 在 Laravel 之外获取 Laravel 会话数据(Memcached)
- python-2.7 - 嵌套循环读取文件
- java - Jetty maven 插件 9.4.12 和 Java 11
- javascript - 使用Javascript从字符串中删除部分单词
- node.js - 如何使用 nodejs 和 mocha 在另一个 lambda 函数中模拟 aws lambda 函数调用
- c# - 在 C# 中手动填充从 xsd 生成的对象
- c# - 使用函数中的许多函数重复调用 Task.Factory.StartNew
- c# - C# 使用 XMLReader(?) 读取子元素