solve_hcaptcha
Solves an hCaptcha challenge using its sitekey and page URL, returning a token for same-session submission or a taskId to check while a person completes it.
Instructions
Solve an hCaptcha challenge from its sitekey and pageUrl and return the token. Use only when you will submit the token yourself from the same session and address; to read the page behind the challenge use solve_and_continue. Returns the token, or a taskId to follow with captcha_status while a person solves it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageUrl | Yes | The page the widget is on. | |
| sitekey | Yes | The widget's site key, from the page's data-sitekey attribute. |