Getting captcha for gmail login using selenium webdriver

+1 vote
Hi , I am trying perform gmail login using selenium Webdriver.  i am getting captcha for password when i execute script using selenium webdriver. i need to capture the  confirmation code from that email.

Can somebody please help me on that?


Aug 13 in Selenium by suvarna
• 130 points

Hey @Suvarna. The main purpose of captcha is to avoid automation and to confirm that it's a human being that is working on the webpage. You can not get the code.

Yeah, I totally agree with you Ramya, the captcha's are used in the first place to restrict any kind of automation bots automating the login of any website. They are used as an additional security layer while logging in to a website or application.

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes
Hi Suvarna, captcha is created this way that you cannot automate it. So its not possible to capture the captcha image for gmail login using Selenium.
answered Aug 13 by Abha
• 24,980 points