get InnerHtml / Any property of HTML ID to Output using InvokeScript
Hi Community,
I'm trying to get Text value of label (which will be created dynamically) through JavaScript by using Script method.
I'm able to test it and run through "Execute Script" which doesn't provide result.
Can you let me know how to get it through "Invoke Script". [I got error while trying to use this Invoke script for same script]
Error : Unknown name. (Exception from HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME))
Sample Script : return "document.getElementById('"+HtmlId+"')";
Thanks In advance.