2.0.1 支持 Macaca
但是没有成功过,更新了最新版本 macaca。
2017-06-02 16:45:48 INFO [Crawler.setupAppium.232] use macaca
{"desiredCapabilities":{"app":"/Users/leon/Downloads/keep.apk","appPackage":"","reuse":3,"package":"","appium":"http://127.0.0.1:4723/wd/hub","noReset":"false","activity":"","deviceName":"76UBBL8222VE","appActivity":"","autoLaunch":"true","platformVersion":"","automationName":"macaca","autoWebview":"false","platformName":""}}2017-06-02 16:45:48 Request:http://localhost:3456/wd/hub/session:{"desiredCapabilities":{"app":"/Users/leon/Downloads/keep.apk","appPackage":"","reuse":3,"package":"","appium":"http://127.0.0.1:4723/wd/hub","noReset":"false","activity":"","deviceName":"76UBBL8222VE","appActivity":"","autoLaunch":"true","platformVersion":"","automationName":"macaca","autoWebview":"false","platformName":""}}
2017-06-02 16:45:48 Response:Internal Server Error
Exception in thread "main" com.alibaba.fastjson.JSONException: syntax error, pos 1, json : Internal Server Error
at com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1361)
at com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1268)
at com.alibaba.fastjson.JSON.parse(JSON.java:137)
at com.alibaba.fastjson.JSON.parse(JSON.java:128)
at com.alibaba.fastjson.JSON.parseObject(JSON.java:201)
at macaca.client.common.Utils.postRequest(Utils.java:117)
at macaca.client.common.Utils.request(Utils.java:157)
at macaca.client.commands.Session.createSession(Session.java:35)
at macaca.client.MacacaClient.initDriver(MacacaClient.java:1189)
at com.xueqiu.qa.appcrawler.MacacaDriver.appium(MacacaDriver.scala:136)
at com.xueqiu.qa.appcrawler.MacacaDriver.<init>(MacacaDriver.scala:38)
at com.xueqiu.qa.appcrawler.Crawler.setupAppium(Crawler.scala:233)
at com.xueqiu.qa.appcrawler.Crawler.start(Crawler.scala:121)
at com.xueqiu.qa.appcrawler.AppCrawler$.startCrawl(AppCrawler.scala:313)
at com.xueqiu.qa.appcrawler.AppCrawler$.main(AppCrawler.scala:303)
at com.xueqiu.qa.appcrawler.AppCrawler.main(AppCrawler.scala)