mirror of
https://github.com/appium/appium.git
synced 2026-10-25 18:21:19 +08:00
Merge pull request #1851 from paymand/android_tag_name
el.tag_name on Android should return element's className.
This commit is contained in:
@@ -131,7 +131,8 @@ androidController.submit = function (elementId, cb) {
|
||||
};
|
||||
|
||||
androidController.getName = function (elementId, cb) {
|
||||
this.proxy(["element:getName", {elementId: elementId}], cb);
|
||||
var p = {elementId: elementId, attribute: "className"};
|
||||
this.proxy(["element:getAttribute", p], cb);
|
||||
};
|
||||
|
||||
androidController.getText = function (elementId, cb) {
|
||||
|
||||
Reference in New Issue
Block a user