@adshung
Hi, I have no problem executing this javascript on page.
Here is project example 0_1486451295005_SetJavascript.xml
Are you using Javascript action?
By the way, you can also call javascript function BrowserAutomationStudio_RecaptchaSolved(payload) to call on solved callback