if image-challenge-popup already exists, calling solveCaptcha will click checkbox again, therefore making image challenge disappear
leanderhamzoui opened this issue · comments
if image-challenge-popup already exists, calling solveCaptcha will click checkbox again, therefore making image challenge disappear
i myself use solveCaptcha only if imagechallenge exists. also necessary for invisible captcha because there is no checkbox to be clicked.
Suggested Solution:
check if image challenge already exists or not. if not, click checkbox.
var challengecheck = (await innerFrame.evaluate(()=>document.querySelector("body .challenge"))) || "";
if (!challengecheck) {
await checkbox?.click();
}
Can you still re-produce this?