Skip to content

Commit 8585141

Browse files
authored
fix(playwright): redundant await (#4701)
1 parent b31644b commit 8585141

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/helper/Playwright.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2098,7 +2098,7 @@ class Playwright extends Helper {
20982098
const els = await this._locate(locator)
20992099
const texts = []
21002100
for (const el of els) {
2101-
texts.push(await await el.innerText())
2101+
texts.push(await el.innerText())
21022102
}
21032103
this.debug(`Matched ${els.length} elements`)
21042104
return texts

0 commit comments

Comments
 (0)