Browse Source

Fix get_attribute

Max O'Cull 8 years ago
parent
commit
fc3028fc19
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ide-plugin.js

+ 1 - 1
ide-plugin.js

@@ -349,7 +349,7 @@ WDAPI.Element.prototype.click = function() {
 };
 
 WDAPI.Element.prototype.getAttribute = function(attributeName) {
-  return this.ref + "->attribute(" + xlateArgument(attributeName) + ")";
+  return this.ref + "->get_attribute(" + xlateArgument(attributeName) + ")";
 };
 
 WDAPI.Element.prototype.getText = function() {