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

555 views
Skip to first unread message

Ben Thomas

unread,
May 18, 2017, 11:02:29 AM5/18/17
to reCAPTCHA

I am trying to use the keys from this question in the FAQ's but when I change the keys for my site from my keys to these, I get an error when the recapcha tries to load.


An internal error occurred: 54FCDAE8D15C8.AD61847.49053B9D


The number changes each time, anyone else have this type of issue? I am using PHP if that makes any difference


Frequently asked questions

What happens to reCAPTCHA v1?

Since we launched reCAPTCHA v2 in Dec, 2014, a significant number of websites around the world have switched to it. Most of the human users enjoy the No CAPTCHA reCAPTCHA experience with a single click in the checkbox. With the advanced risk analysis engine, reCAPTCHA v2 can effectively separate humans from bots and always stay ahead of the attackers. So we decided that it's time to stop supporting the old version of reCAPTCHA, which means:

  • Any new key registered on reCAPTCHA will be only valid for v2.
  • No bug fixes will be applied to reCAPTCHA v1.

If your site still uses reCAPTCHA v1, please update to reCAPTCHA v2 immediately. We no longer support reCAPTCHA v1, and can longer guarantee it will continue functioning. Please register a new key and upgrade to v2.

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

With the following test keys, you will always get No CAPTCHA and all verification requests will pass.

  • Site key: 6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
  • Secret key: 6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe

The reCAPTCHA widget will show a warning message to claim that it's only for testing purpose. Please do not use these keys for your production traffic.

Reply all
Reply to author
Forward
0 new messages