-
Notifications
You must be signed in to change notification settings - Fork 659
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docs] Add a reCAPTCHA article (#5204)
* Add a reCAPTCHA article * Update docs/articles/documentation/recipes/integrations/test-websites-that-use-recaptcha.md Co-authored-by: DirkPieterse <dirk.pieterse@devexpress.com> * Update docs/articles/documentation/recipes/integrations/test-websites-that-use-recaptcha.md Co-authored-by: DirkPieterse <dirk.pieterse@devexpress.com> * Update docs/articles/documentation/recipes/integrations/test-websites-that-use-recaptcha.md Co-authored-by: DirkPieterse <dirk.pieterse@devexpress.com> * Update docs/articles/documentation/recipes/integrations/test-websites-that-use-recaptcha.md Co-authored-by: DirkPieterse <dirk.pieterse@devexpress.com> * Update docs/articles/documentation/recipes/integrations/test-websites-that-use-recaptcha.md Co-authored-by: DirkPieterse <dirk.pieterse@devexpress.com> Co-authored-by: DirkPieterse <dirk.pieterse@devexpress.com>
- Loading branch information
1 parent
c3406f7
commit 43a0a08
Showing
4 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
...articles/documentation/recipes/integrations/test-websites-that-use-recaptcha.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
layout: docs | ||
title: Test Websites That Use reCAPTCHA | ||
permalink: /documentation/recipes/integrations/test-websites-that-use-recaptcha.html | ||
--- | ||
# Test Websites That Use reCAPTCHA | ||
|
||
TestCafe does not implement mechanisms that circumvent CAPTCHA challenges. However, many CAPTCHA providers allow you to disable or simulate the verification in test environments. | ||
|
||
This topic describes how to configure reCAPTCHA for TestCafe tests. | ||
|
||
## reCAPTCHA v3 | ||
|
||
Create a separate key for testing environments in the [reCAPTCHA admin console](https://www.google.com/recaptcha/admin/create). Then follow the instructions on the page to use this key when you build the site for testing. | ||
|
||
> Scores may not be accurate in testing environments as reCAPTCHA v3 relies on real traffic. | ||
Alternatively, you can change the `score` threshold or disable the reCAPTCHA check in your development build. | ||
|
||
## reCAPTCHA v2 | ||
|
||
Use the following test keys that generate the `No CAPTCHA` response and pass all verification requests: | ||
|
||
**Site key**: `6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI` | ||
**Secret key**: `6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe` | ||
|
||
With these keys, the reCAPTCHA widget shows a warning message that indicates reCAPTCHA is not used for production traffic. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters