Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Async default callback comes with recaptcha_v3 script causes "Uncaught SyntaxError: Unexpected token function" #378

Open
krishnakumarhegde opened this issue Dec 31, 2020 · 1 comment

Comments

@krishnakumarhegde
Copy link

When using recaptch_v3 it adds 2 default callback methods executeRecaptchaFor#{sanitize_action_for_js(action)} and executeRecaptchaFor#{sanitize_action_for_js(action)}Async . While running automations its failing with "Uncaught SyntaxError: Unexpected token function" error. (Best guess something to do with node version and async). But only adding a callback one without async works fine. Achieved this through sending turbolinks: true option in recaptch_v3 method. Please suggest if this is the right way, thanks!

@grosser
Copy link
Collaborator

grosser commented Dec 31, 2020

no idea, best tag someone who worked on it ... if you find a bug or bad docs plz make a PR to fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants