I using 2captcha.com api for bypass reCaptcha V2 but I cant use callback function.When I run callback function nothing is happening.This function output is "undefined".
I need run callback function.
I want run this callback function
When I run this function I get this error
CodePudding user response:
Without the web link to the page where the captcha appears its going to difficult. From what I can gather from the Image you linked, try this from Google chrome - Devtools - Console:
var Callback_Str = '___grecaptcha_cfg.clients[0].M.M'
var CResponse_jscript = 'JSON-code-received-from-provider'
document.getElementById('g-recaptcha-response').value = CResponse_jscript;
Callback_Str.callback(CResponse_jscript);
CodePudding user response:
captcha in the link I specified
https://visa.vfsglobal.com/tur/tr/pol/login
var Callback_Str = '___grecaptcha_cfg.clients[0].M.M'
var CResponse_jscript = 'JSON-code-received-from-provider'
document.getElementById('g-recaptcha-response').value = CResponse_jscript;
Callback_Str.callback(CResponse_jscript);