In case anyone else encountered this problem. You have to edit your function and check the "has return value" box. Then your return will work. After this you have to use "Call Function" again and now you have a new field for saving results.
funcaptcha solved problem
-
hello
from browser settings
--disable-web-security
--disable-site-isolation-trials
--disable-application-cache
i enter these codes and run them then i get my captcha tokenvar anyCaptchaToken = 'I'm typing the token here';
var enc = document.getElementById('enforcementFrame');
var encWin = enc.contentWindow || enc;
var encDoc = enc.contentDocument || encWin.document;
let script = encDoc.createElement('SCRIPT');
script.append('function AnyCaptchaSubmit(token) { parent.postMessage(JSON.stringify({ eventId: "challenge-complete", payload: { sessionToken: token } }), "*") }');
encDoc.documentElement.appendChild(script);
encWin.AnyCaptchaSubmit(anyCaptchaToken);and I add this code to browser javascript option and run it. But funcaptcha comes again.
I noticed that when I run the code in manual chrome console it gives the following error.
funcaptcha_api.js:2 The devicemotion events are blocked by permissions policy. See https://github.com/w3c/webappsec-permissions-policy/blob/master/features.md#sensor-features
Does anyone have any idea why and how to get around this error?