How to retrieve the returned object from a javascript execution

Hello,

I am trying to return the value of a javascript call:

getWindow().executeJavaScript(“dummyFunction()”);

Is it possible?

Thanks in advance.

Unfortunately you cannot get the return value.