RE: Is it possible to read captcha text while creating google account?


Hi, Is it possible to read captcha text  while creating gmail account. The captcha text is dynamically changing. I used the below code but it is not working.

String captchaValue=driver.findElement(By.xpath(".//*@id='recaptcha_challenge_image']")).getText();

System.out.println("Captcha Value: "+ captchaValue);

Can anyone help me to solve this problem.
Thanks & Regards

samba Train Asked on December 12, 2014 in Selenium WebDriver.
Add Comment
1 Answers
Best answer

Hi Samba,

The purpose of captcha is to avoid bots and automation. And I am sure if it is from google, there is not way to break it.:)

If the captch is on Test Environment, then follow the below link:

Lakshay Sharma

Professor Answered on December 12, 2014.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.