Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit aa40df1

Browse files
committed
fix(element): fix reference error introduced at 2a28888
1 parent 2a28888 commit aa40df1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/element.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ ElementArrayFinder.prototype.get = function(index) {
260260
throw new Error('Index out of bound. Trying to access element at ' +
261261
'index: ' + index + ', but there are only ' +
262262
parentWebElements.length + ' elements that match locator ' +
263-
elementArrayFinder.locator_.toString());
263+
self.locator_.toString());
264264
}
265265
return [parentWebElements[i]];
266266
});

0 commit comments

Comments
 (0)