mirror of
https://github.com/appium/appium.git
synced 2026-02-09 19:28:48 -06:00
update for new uiauto command processing
This commit is contained in:
@@ -230,6 +230,14 @@ iOSController.findUIElementsByXpath = function (selector, ctx, many, curRetry,
|
||||
};
|
||||
|
||||
iOSController.getSourceForElementForXML = function (ctx, cb) {
|
||||
var _cb = cb;
|
||||
cb = function (err, res) {
|
||||
if (err) return cb(err);
|
||||
// TODO: all this json/xml logic is very expensive, we need
|
||||
// to use a SAX parser instead.
|
||||
if (res.value) res.value = JSON.stringify(res.value);
|
||||
_cb(err, res);
|
||||
};
|
||||
if (!ctx) {
|
||||
this.proxy("au.mainApp().getTreeForXML()", cb);
|
||||
} else {
|
||||
|
||||
@@ -43,8 +43,8 @@
|
||||
"adm-zip": "~0.4.4",
|
||||
"appium-adb": "1.0.2",
|
||||
"appium-atoms": "~0.0.5",
|
||||
"appium-instruments": "1.1.0-beta1",
|
||||
"appium-uiauto": "1.2.0-beta3",
|
||||
"appium-instruments": "1.1.0-beta2",
|
||||
"appium-uiauto": "1.2.0-beta4",
|
||||
"argparse": "~0.1.15",
|
||||
"async": "~0.9.0",
|
||||
"binary-cookies": "~0.1.1",
|
||||
@@ -101,7 +101,7 @@
|
||||
"chai-as-promised": "~4.1.1",
|
||||
"glob": "~4.0.0",
|
||||
"grunt-contrib-jshint": "~0.10.0",
|
||||
"grunt-jscs-checker": "~0.4.4",
|
||||
"grunt-jscs-checker": "~0.5.1",
|
||||
"grunt-mocha-test": "~0.11.0",
|
||||
"js-yaml": "~3.0.2",
|
||||
"mocha": "~1.20.0",
|
||||
|
||||
Submodule submodules/appium-instruments updated: a689c64369...43a10ba165
Submodule submodules/appium-uiauto updated: b32106d2e9...24c0915aee
Reference in New Issue
Block a user