Przeglądaj źródła

Merge pull request #317 from Maxattax97/master

Fix get_attribute in ide plugin
Daniel Gempesaw 8 lat temu
rodzic
commit
c3568f9a16
1 zmienionych plików z 1 dodań i 1 usunięć
  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() {