How do you debug the ExecuteScriptAsync
method?
I am trying to set a value for innerHTML but it does not work. I had the method wrapped around a try-catch but no exception is returned.
Below is the code I use to update the innerHTML:
ExecuteScriptAsync("document.getElementById('" + elementID + "')." + property + " = \'" + value + "\'");
It works fine if I set a dummy string as a value. I need to know what it is making it reject HTML contents.
Thanks