Browse Source

Fix get_attribute

Max O'Cull 8 năm trước cách đây
mục cha
commit
fc3028fc19
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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() {