hello, i have a function in javascript which returns a
string. how do i access this string outside of my script, for example in
java? thanks.
here is an example:
void main () {
String code = "x.onklick = function () { display () }"
browser.execute (code);
}
function display () {
return ("hello");
}
the question is how do i access the string returned by display after browser.execute? i.e., outside the script itself. thanks.