Hello,
I am reaching out to seek community's assistance in verifying if our reCAPTCHA setup is working as expected.
Currently, we are noticing an unusual behavior where reCAPTCHA v3 consistently returns a score of 0.9, even when testing with Selenium scripts running on Chrome. Given the nature of these tests, we would expect a lower score since they simulate automated interactions, which reCAPTCHA is designed to flag.
To help investigate, here are some details:
- Key Information:
- reCAPTCHA Site Key: 6LeI8ooqAAAAACCztF5p1ucp3cE8_N97KrZ7OMKX
- The key is linked to 4 non-production environments. Please let me know if you want domain information.
- Behavior Observed:
- We received low scores(<0.9) during our tests using Selenium on December 3, 2024, but we are not observing the same results during our tests today, i.e., December 4, 2024.
- Regardless of the type of interaction, including automated ones, the returned score is always 0.9.
- Tested using Selenium scripts on Chrome and regular manual interactions.
- Implementation Details:
- Frontend Code Snippet:
We are using the following snippet for form submission:
<script>
function onContactSubmit(token) {
document.getElementById("userResponse").value = token;
document.getElementById("contact").requestSubmit();
}
</script>
- Backend Token Verification:
On the backend, we are verifying the token using the “https://developers.google.com/recaptcha/docs/verify” to ensure proper validation.
- Backend Token Verification:
- Expected Outcome:
A variance in scores, particularly lower scores for automated interactions.
Please help verify if there are any issues with the site key, configuration, or usage? If further information is needed, I would be happy to provide it.
Thank you for your time and assistance. I look forward to hearing from you.
-Ravi