berstend / puppeteer-extra

💯 Teach puppeteer new tricks through plugins.
https://extra.community
MIT License
6.37k stars 736 forks source link

Captcha solving on Linkedin doesn't work #311

Closed froidefond closed 3 years ago

froidefond commented 3 years ago

Hello,

I have the same Problem as #284 .

My version of puppeteer-extra-plugin-recaptcha is 3.1.18

On this page : https://www.linkedin.com/checkpoint/challenge/AgF1YhmA78AsOwAAAXRyc4GCTuRI9QcrI676g6dbj78-6lgP82Fhse-NsJhyki-_H8tQonF18rP99lib1LXrXXf5gkl_mA?ut=2AJSDT9V70PVo1

This is for the ReCaptcha you get after trying to login to Linkedin. It's pretty hard to solve as a human (lot of pictures and tests) Not any Api request is sent when I use await page.solveRecaptchas() as I can see on 2captcha Dashboard

When I run with debug, here is what I get :

  puppeteer-extra-plugin:recaptcha solveRecaptchas +0ms
  puppeteer-extra-plugin:recaptcha findRecaptchas +0ms
  puppeteer-extra-plugin:recaptcha hasRecaptchaScriptTag false +0ms
  puppeteer-extra-plugin:recaptcha _generateContentScript findRecaptchas undefined +0ms
  puppeteer-extra-plugin:recaptcha findRecaptchas { captchas: [], error: null } +0ms
  puppeteer-extra-plugin:recaptcha solveRecaptchas { captchas: [], solutions: [], solved: [], error: null } +0ms

And the result of await page.solveRecaptchas() is : { captchas: [], solutions: [], solved: [], error: null }

You can see in the screenshots the ReCaptcha I'm trying to solve and how it is visible in the Dom.

Capture d’écran 2020-09-09 à 13 17 53 Capture d’écran 2020-09-09 à 13 18 56

Thank you for your help 🙂

froidefond commented 3 years ago

Plaît-il ?

brunogaspar commented 3 years ago

Please write only in english.

Thanks!

PavelZubkov commented 3 years ago

you call solveRecaptchas() before captcha load. Try waitFor*

berstend commented 3 years ago

No code provided, closing.