I am trying to execute some JavaScript using a call to C # eval.
browser.Frames[1].Eval("myFunctionCall(" + Id + ", 1, " + RowNumber + ");");
It does not seem to be able to find the function because it is throwing a "JavaScriptException". The value of the myFunctionCall property is null or undefined, not a Function object "
Here is the background.
I found out by tracking JavaScript that this is a function called when an element of interest is clicked. So I lift the page in the browser and execute this JavaScript. When downloading, I get the above errors.
I am starting and I am not sure how to call remotely referenced JavaScript.
In conclusion, I would like to name the javascript method. Any ideas?
Thanks!
source share