소스 검색

Fix get_attribute

Max O'Cull 8 년 전
부모
커밋
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() {