Skip to content

Commit

Permalink
el.tag_name on Android should return element's className.
Browse files Browse the repository at this point in the history
  • Loading branch information
Payman Delshad committed Feb 3, 2014
1 parent 1006787 commit 4c707ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/devices/android/android-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4c707ad

Please sign in to comment.