Hello,
i'm trying to access DOM elements in an iFrame and manipulate the elements in it.
so what i do is to use ExecuteJavaScript when the OnLoadStart / OnLoadEnd events occur.
Now, it seems that the javascript is indeed executed, hence is if i execute "alert" - i will see it on screen,
but the DOM elements still doesn't exist, so when i look for them in the script - i'm getting nulls.
I also tried using a timer, but still - no HTML elements.
If i run the same script on the main frame - it works great. this problem is only with iFrames.
any idea why this is happening? how can i overcome it?
thanks,
Amit