How to Bypass Google reCAPTCHA

Hi all, I am running automation test in a web application, when creating a profile we have reCaptcha “I am not a robot” that needs to be handled.
Can you suggest a solution to bypass google recaptcha while testing the application using Katalon.

https://developers.google.com/recaptcha/docs/faq

I’d like to run automated tests with reCAPTCHA. What should I do?

1 Like

Hi gayathri.jayakumar

CAPTCHA is the feature for the security reasons, so it should not allow bypassing by any tools or automation scripts, but for the testing reasons here is my recommendation so you can consider:

  • Solution 1: Ask the developer to create the “always correct value” as “123456” and apply it to the test environments. This solution will able to work on Jenkins.
  • Solution 2: Ask the developer to show CAPTCHA on UI screen, so you can get text value and input to the field, apply on the test environments and this solution will be able to work on Jenkins as well.
  • Solution 3: Ignore that features from automation script and done by manual, we do not need to auto all features, and this is one of it.
  • Solution 4: Whitelist company, test IP. Adding your company or test machine’s IP to the trusted list and allow these IP to pass the CAPTCHA.
  • Solution 5: Turn off the CAPTCHA on the test environment (alpha), if you have alpha, staging, and production.
  • Solution 6: reCAPTCHA will allow to enable the CAPTCHA test, you can see the details here developers.google.com/recaptcha/docs/faq
  • Solution 7: Some weak CAPTCHA we can bypass by OCR but should not in your case.

Hope this helps gayathri.jayakumar