MEG*_*OOR 6 java junit integration-testing recaptcha recaptcha-v3
我正在尝试用java编写集成测试(Junit)来测试recaptcha v3。但我无法对 recaptcha 令牌进行硬编码。
我尝试参考https://developers.google.com/recaptcha/docs/faq#id-like-to-run-automated-tests-with-recaptcha.-what-should-i-do但找不到任何为 junit 生成 recaptcha 令牌的方法。
我还提到了 - https://developers.google.com/recaptcha/docs/v3但似乎只有 JavaScript API 可用于令牌生成。我正在寻找 Java 中的 API 来生成 recaptcha 令牌。
| 归档时间: |
|
| 查看次数: |
670 次 |
| 最近记录: |