Max O'Cull 8 лет назад
Родитель
Сommit
fc3028fc19
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() {