From 6194e3eff352ce01c3fcd89ffe2fcf4fffb04fff Mon Sep 17 00:00:00 2001 From: nocci Date: Sat, 7 Mar 2026 14:19:36 +0000 Subject: [PATCH] fix: correct Playwright selector syntax for OR condition --- epic-games.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epic-games.js b/epic-games.js index 92447d2..4beb16a 100644 --- a/epic-games.js +++ b/epic-games.js @@ -316,7 +316,7 @@ try { } }; - const hasCaptcha = await page.locator('.h_captcha_challenge iframe, text=Incorrect response').count() > 0; + const hasCaptcha = await page.locator('.h_captcha_challenge iframe | text=Incorrect response').count() > 0; if (hasCaptcha) { console.warn('Captcha/Incorrect response detected. Please solve manually in the browser.'); await notify('epic-games: captcha encountered; please solve manually in browser.');