Hi,
I'm invoking a script in the browser to fill in elements and the script will return a JSON string with all the result details, something like this:
{"AllFieldsFound":true,"AutoFillMappings":[{"Mode":"ReplaceValue","Name":"","Selector":"input#username","Result":1},{"Mode":"ReplaceValue","Name":"","Selector":"input#pwd","Result":1},{"Mode":"Click","Name":"","Selector":"button#submit.login-btn.qStr.submit","Result":1}]}
I'm doing this on IE and the EO.WebView and in IE I get the whole string which I then can parse to my object. In Chrome I use a code like this:
Code: C#
var scriptCall = new ScriptCall(javaScript);
Browser.WebView.QueueScriptCall(scriptCall);
scriptCall.WaitOne();
var r = scriptCall.Result;
In scriptCall.Result I expected to see the complete string but I only have the value 1 in it (I assume this is the last result bit of the json string.
Am I doing something wrong?
Regards,
Stefan