SneakerBot icon indicating copy to clipboard operation
SneakerBot copied to clipboard

Captcha solver error Evaluation failed: TypeError: Cannot read property 'getAttribute' of null

Open Kohlsen opened this issue 4 years ago • 1 comments

Getting this error back when the captcha solver runs on footlocker.com

This error occurs in captcha.js -> const googleKey = await context.evaluate(({ captchaSelector: captchaDivSelectorStr, captchaIframeSelector: captchaIframeSelectorStr }) => { const captchaDiv = captchaDivSelectorStr && document.querySelector(captchaDivSelectorStr); const iframe = captchaDiv ? captchaDiv.querySelector('iframe') : document.querySelector(captchaIframeSelectorStr); const iframeSrc = iframe.getAttribute('src');

maybe someone can shed some light on this? I confused how it was able to target the iframe but the src attribute of the iframe it found was null..

Kohlsen avatar Aug 05 '21 04:08 Kohlsen

@Kohlsen thanks for opening this Issue, please see #47 for the latest on this issue.

samc621 avatar Aug 08 '21 16:08 samc621