Appium-node.js-我正在使用这个触摸功能,想点击这个特定的坐标。但是它给了我一个错误

Appium-node.js-我正在使用这个触摸功能,想点击这个特定的坐标。但是它给了我一个错误,node.js,automation,appium,appium-android,Node.js,Automation,Appium,Appium Android,driver.touchAction({actions:'tap',x:269,y:1605}) 错误: 未知错误:处理命令时发生未知服务器端错误。原始错误:未知操作未定义请尝试使用以下方法: TouchAction动作=新的TouchAction(Mobiledriver); 点击(PointOption.point(2691605)).perform().release()

driver.touchAction({actions:'tap',x:269,y:1605})

错误:

未知错误:处理命令时发生未知服务器端错误。原始错误:未知操作未定义

请尝试使用以下方法: TouchAction动作=新的TouchAction(Mobiledriver); 点击(PointOption.point(2691605)).perform().release()