From ad40b12ac6bf2eb2ad9665dea2cbd13f6dd7efa6 Mon Sep 17 00:00:00 2001 From: kobenguyent <7845001+kobenguyent@users.noreply.github.com> Date: Thu, 2 Jan 2025 14:18:28 +0100 Subject: [PATCH] fix(playwright): redundant await --- lib/helper/Playwright.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/helper/Playwright.js b/lib/helper/Playwright.js index 37c23dd35..774aa50a0 100644 --- a/lib/helper/Playwright.js +++ b/lib/helper/Playwright.js @@ -2098,7 +2098,7 @@ class Playwright extends Helper { const els = await this._locate(locator) const texts = [] for (const el of els) { - texts.push(await await el.innerText()) + texts.push(await el.innerText()) } this.debug(`Matched ${els.length} elements`) return texts