shahzain345 / puppeteer-hcaptcha-solver

Solve hcaptcha with puppeteer.
22 stars 5 forks source link

div.task-image:nth-child(1)` failed: Waiting failed: 30000ms exceeded #9

Open inanbruneli opened 1 year ago

inanbruneli commented 1 year ago

I'm trying to use the lib, but I'm facing the following error:

E:\Github\hcaptcha-python\node_modules\puppeteer-core\lib\cjs\puppeteer\common\WaitTask.js:59 void this.terminate(new Errors_js_1.TimeoutError(Waiting failed: ${options.timeout}ms exceeded`)); ^

TimeoutError: Waiting for selector div.task-image:nth-child(1) failed: Waiting failed: 30000ms exceeded at Timeout. (E:\Github\hcaptcha-python\node_modules\puppeteer-core\lib\cjs\puppeteer\common\WaitTask.js:59:37) at listOnTimeout (node:internal/timers:569:17) at process.processTimers (node:internal/timers:512:7) `

I even tried changing the selector to: div.task-image: nth-child(1) - works with jquery But, got:

E:\Github\hcaptcha-python\node_modules\puppeteer-core\lib\cjs\puppeteer\common\WaitTask.js:59 void this.terminate(new Errors_js_1.TimeoutError(Waiting failed: ${options.timeout}ms exceeded`)); ^

TimeoutError: Waiting failed: 30000ms exceeded at Timeout. (E:\Github\hcaptcha-python\node_modules\puppeteer-core\lib\cjs\puppeteer\common\WaitTask.js:59:37) at listOnTimeout (node:internal/timers:569:17) at process.processTimers (node:internal/timers:512:7)

Node.js v18.16.1 `

rulgg commented 1 year ago

same

rdtech2020 commented 11 months ago

getting same error