Skip to content

Commit 52bd4d5

Browse files
authored
Update WebDriver.js
1 parent 85a2bc8 commit 52bd4d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/helper/WebDriver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@ async seeElement(locator) {
14621462
const elements = await this._locate(locator, true);
14631463
assertElementExists(elements, locator);
14641464

1465-
const visibility = await forEachAsync(elements, async el => el.isDisplayed());
1465+
const visibility = await forEach(elements, async el => el.isDisplayed());
14661466

14671467
try {
14681468
return truth(`elements of ${new Locator(locator)}`, 'to be seen').assert(visibility);

0 commit comments

Comments
 (0)