• Appium 报错信息

    [debug] [W3C (a792fc62)] Calling AppiumDriver.execute() with args: ["var source = document.documentElement.outerHTML; \nif (!source) { source = new XMLSerializer().serializeToString(document); }\nreturn source;",[],"a792fc62-e7fd-4553-b1f4-109ef59e0bc9"]
    [debug] [W3C (a792fc62)] Encountered internal error running command: NotImplementedError: Method is not implemented
    [debug] [W3C (a792fc62)] at AndroidUiautomator2Driver.extensions.execute (/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/execute.js:12:9)
    [debug] [W3C (a792fc62)] at curCommandCancellable._bluebird.default.resolve.then (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/driver.js:291:18)
    [debug] [W3C (a792fc62)] at tryCatcher (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/util.js:26:23)
    [debug] [W3C (a792fc62)] at Promise._settlePromiseFromHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/promise.js:510:31)
    [debug] [W3C (a792fc62)] at Promise._settlePromiseAt (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/promise.js:584:18)
    [debug] [W3C (a792fc62)] at Promise._settlePromiseAtPostResolution (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/promise.js:248:10)
    [debug] [W3C (a792fc62)] at Async._drainQueue (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/async.js:128:12)
    [debug] [W3C (a792fc62)] at Async._drainQueues (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/async.js:133:10)
    [debug] [W3C (a792fc62)] at Immediate.Async.drainQueues [as _onImmediate] (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/node_modules/bluebird/js/main/async.js:15:14)
    [debug] [W3C (a792fc62)] at runCallback (timers.js:810:20)
    [debug] [W3C (a792fc62)] at tryOnImmediate (timers.js:768:5)
    [debug] [W3C (a792fc62)] at processImmediate [as _immediateCallback] (timers.js:745:5)
    [HTTP] <-- POST /wd/hub/session/a792fc62-e7fd-4553-b1f4-109ef59e0bc9/execute/sync 405 10 ms - 1654
    [HTTP]
    [HTTP] --> POST /wd/hub/session/a792fc62-e7fd-4553-b1f4-109ef59e0bc9/execute/sync
    [HTTP] {"script":"var source = document.documentElement.outerHTML; \nif (!source) { source = new XMLSerializer().serializeToString(document); }\nreturn source;","args":[]}

    Appcrawler 报错信息


    2019-03-12 15:06:39 INFO [Crawler.doElementAction.983] current uri = startupActions-Start-0 startupActions
    Exception in thread "main" java.util.NoSuchElementException: last of empty ListBuffer
    at scala.collection.mutable.ListBuffer.last(ListBuffer.scala:401)
    at com.testerhome.appcrawler.DataRecord.last(DataRecord.scala:40)
    at com.testerhome.appcrawler.Crawler.doElementAction(Crawler.scala:985)
    at com.testerhome.appcrawler.Crawler.runStartupScript(Crawler.scala:238)
    at com.testerhome.appcrawler.Crawler.start(Crawler.scala:152)
    at com.testerhome.appcrawler.AppCrawler$.startCrawl(AppCrawler.scala:344)
    at com.testerhome.appcrawler.AppCrawler$.parseParams(AppCrawler.scala:312)
    at com.testerhome.appcrawler.AppCrawler$.main(AppCrawler.scala:92)
    at com.testerhome.appcrawler.AppCrawler.main(AppCrawler.scala)

    运行在安卓设备上运行也报错

  • appium自己可以跑起来,换appcrawler就跑不起来了

  • 老师想问一下 appcrawler可以兼容现在的appium1.10和 Xcode10.1吗 之前试了总是报错。。说不兼容Xcode10.1 不确定是不是自己环境问题

  • 谢谢,我已经更新Appium 到 1.11版本,现在模拟器调起没问题,但是总会Appcrawler总会报错。Appcrawler

    Exception in thread "main" java.util.NoSuchElementException: last of empty ListBuffer
    at scala.collection.mutable.ListBuffer.last(ListBuffer.scala:401)
    at com.testerhome.appcrawler.DataRecord.last(DataRecord.scala:40)
    at com.testerhome.appcrawler.Crawler.doElementAction(Crawler.scala:985)
    at com.testerhome.appcrawler.Crawler.runStartupScript(Crawler.scala:238)
    at com.testerhome.appcrawler.Crawler.start(Crawler.scala:152)
    at com.testerhome.appcrawler.AppCrawler$.startCrawl(AppCrawler.scala:344)
    at com.testerhome.appcrawler.AppCrawler$.parseParams(AppCrawler.scala:312)
    at com.testerhome.appcrawler.AppCrawler$.main(AppCrawler.scala:92)
    at com.testerhome.appcrawler.AppCrawler.main(AppCrawler.scala)

  • 我也有这个错误,我用的还是2.1.3 不知道是不是要更新appcrawler阿 反正 appium 目前是已经支持 Xcode10.1了

  • 我也出现了这个问题,不知道楼主有没有解决?

  • 我 appium 是1.8.1 Xcode使用 10.1 总是报错。

  • awk '{print $7}' /tmp/nginx.log | sed 's#[0-9]#x#g' | sort | uniq -c | sort -nr | head -5

  • Author only