【发布时间】:2021-06-21 21:25:02
【问题描述】:
我
功能文件
Scenario: Validate My Contacts page
Given driver { webDriverSession: { desiredCapabilities : "#(android.desiredConfig)"} }
Then click("//*[@text='My Contacts']")
...
...
例外
{message=An element could not be located on the page using the given search parameters (id='%5B%5D')}
问题排查
-
click()函数调用 elementFind api 并返回HTTP 200 - 然后用elementID调用
elementClickapi,返回HTTP 500 - 注意到
elementClickapi 没有有效的elementID。
技术栈
Appium Studio v21 空手道 1.0.0(0.9.6 中存在问题)
请分享您解决问题的指导点。
【问题讨论】:
标签: mobile automation appium karate