reCAPTCHA v2 — also known as the I’M NOT A ROBOT captcha — is one of Google’s most common captchas.
First you need to find the value of the data-sitekey parameter in the page source. Open DevTools and locate the element with the data-sitekey attribute:
1. Create task
Request
Body Parameters
Response
errorId = 0 and taskId → success
errorId = 1 and errorCode → failed (see Error Codes)
2. Retrieve the result
Request
Response
errorId = 0 & status = "ready" → read the token from solution.gRecaptchaResponse
errorId = 0 & status = "processing" → job in progress, wait 2 seconds and retry
errorId = 1 → failed, check errorCode in Error Codes
In DevTools, find the <textarea name="g-recaptcha-response"> element and paste the received token into it, then click the Check / submit button.