使用的类的参数无效' XCUIElementTypeapp'

时间:2017-05-24 16:28:47

标签: ios ruby selenium appium

我收到以下错误消息

Selenium::WebDriver::Error::NoSuchElementError: An element could not be 
located on the page using the given search parameters.

我正在使用appium与红宝石和黄瓜一起使用。在appium内我得到以下错误。

[JSONWP Proxy] Proxying [POST /element] to [POST 
http://localhost:8100/session/A17F852A-3E7A-40D1-9626-
9E9BC666F16A/element] with body: {"using":"class 
name","value":"XCUIElementTypeapp"}
[JSONWP Proxy] Got response with status 200: {"value":"Invalid argument 
for class used 'XCUIElementTypeapp'. Did you mean 
XCUIElementTypeXCUIElementTypeapp?","sessionId":"A17F852A-3E7A-40D1-
9626-9E9BC666F16A","status":15}
[HTTP] <-- POST /wd/hub/session/a7ea0c9d-5aab-4780-a24c-
15e20c8aa5d8/element 500 44 ms - 164

我目前正在使用XUITest进行Xcode。我在线搜索但无法找到ios模拟器启动时无法找到javascript的原因。

有人可以帮忙吗?

0 个答案:

没有答案