Around six months ago several sites that I maintain using recaptcha v3 starting throwing this error when dev tools are open.
It does not affect the operation of recaptcha but it's annoying when trying to use dev tools.
As far as I can tell from the call stack, the string isn't passed in (at least, not as is). I can only find two other reports that look like the same issue so it seems unlikely to be a recaptcha bug, and as neither have answers they're not much help.
All the pages that exhibit the error are utf-8 encoded. They use different versions of jquery, bootstrap and so on, so it's hard to find a candidate for a possible conflict.
Suggestions for moving forward to resolving the error would be welcome.