karate - 空手道 + Appium,命令 driver.startRecordingScreen() 不起作用
问题描述
使用空手道向 Appium 服务器发送 startRecordingScreen() 命令时出现问题。
我尝试使用 curl 发送命令并且它可以工作,但在空手道场景中它失败了。Appium 服务器控制台上没有任何日志
Feature: Simple test with appium
Background:
* url 'http://127.0.0.1:4723'
* configure driver = {type : 'android'}
* def driverCaps = {"app":".../.app","newCommandTimeout":180, "platformVersion": "6.0", "platformName": "Android","deviceName":"Android Emulator", "avd":"avd_name"}
Scenario: Simple scenario
Given driver driverCaps
And driver.startRecordingScreen()
And driver.click('..')
看起来有些 Appium 命令没有在空手道中实现?
解决方案
是的,Appium 肯定是实验性的,除非您或其他任何人可以做出贡献,否则这将需要时间。我们现在正专注于让 web-UI 自动化生产就绪。它发展得很好,所以在我(有偏见的)看来 - 值得花时间扩展到移动 + 桌面自动化。
推荐阅读
- python - 有人可以解释这个 Python(变量=类型,变量=列表=列表等)吗?
- php - 如何以不会成为僵尸进程的方式破坏子进程?
- html - 如何用shell脚本替换html文件中的多行文本?
- php - 如何删除 UTF-32 字符?
- arrays - 将 firebase 中多个字典的值添加到 Int
- regex - 在powershell中将正则表达式捕获组的结果更改为小写
- api - 使用 webhook 在不和谐服务器上创建频道
- javascript - 无法读取未定义的属性“地图”。错误还原
- java - 如何在 Java 中制作应用程序图标进度指示器?
- apache-kafka - 使用 Kafka Connect 时如何转换所有时间戳字段?