How solve recaptcha v2 in Selenium?
-
How solve recaptcha v2 in Selenium?
I used this guide - https://forum.openbullet.dev/topic/18/how-to-insert-a-recaptcha-v2-solution , but it not work in my project. What I did wrong?
I used correct blocks?
https://prnt.sc/rn6mokExecute JS block
RECAPTCHA "https://www.mywebsite.com/access/member" "6Ld3CVkUAAAAALYU8XjU8sydPqrRv_y34PWhKVmZ" -> VAR "SOLUTION" BROWSERACTION Open NAVIGATE "https://www.mywebsite.com/access/member" EXECUTEJS "document.getElementById('g-recaptcha-response').innerHTML = '<SOLUTION>';"
-
The guide works, it's been tested over and over. Maybe the challenge answer gets inserted in the page but you still need to submit the form? Also mind that you won't see the green tick that you usually see when you click the reCaptcha challenge manually with your mouse, but it doesn't mean that it's not working
-
@Ruri said in How solve recaptcha v2 in Selenium?:
The guide works, it's been tested over and over. Maybe the challenge answer gets inserted in the page but you still need to submit the form? Also mind that you won't see the green tick that you usually see when you click the reCaptcha challenge manually with your mouse, but it doesn't mean that it's not working
What I did wrong?
Recaptcha had been solved, but in selenium browser it shows that captcha not solved
-
Maybe they renamed the g-recaptcha-response to something else? You should try to see when you complete the captcha manually what happens exactly (where it's put, if it calls any additional functions) so you can do the same.
-
@Ruri in my case
the name is same and data callback only has 1 function
yet it is not working..
also, no submition required
is there anything else to check?
-
@thelurker i have the same problem, who knows how to fix it. I got the good response but it still says "please confirm your not a robot"