Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Captcha handling using Selenium

I am trying to automate one form where I get re-Captcha as a part of form submission. I got stuck and figuring out that how can we handle the captcha text using selenium webdriver. Though this captcha is turing test implementation in realtime but, still I am finding some way so that I can handle this scenario.

like image 971
Harsh Nigam Avatar asked Jul 21 '26 17:07

Harsh Nigam


1 Answers

So you can't really do that, captcha is by definition meant to break your automation. That said, I have had some luck using Tesseract OCR, but I was dealing with rather simplistic ones that contained only numbers. While I was doing that, I also looked into some javascript based solutions, but I was unable to achieve any success with those. I think it is worth giving a try, but most probably you are out of luck

like image 127
Erki M. Avatar answered Jul 24 '26 11:07

Erki M.