浏览代码

Merge pull request #317 from Maxattax97/master

Fix get_attribute in ide plugin
Daniel Gempesaw 8 年之前
父节点
当前提交
c3568f9a16
共有 1 个文件被更改,包括 1 次插入1 次删除
  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() {