i have this page displaying statement every 2 second (using javascript), at the end of it there is a link which the user can click.
with IE it will click the link before javascript generated statement is completed. when i use Link.Click()
(with Firefox it will throw exception, which is fine with me)
is there a way to wait for javascript execution to complete before link gets clicked (IE)?
TIA
EDITED // the code, pretty simple seaching for link that startwith //"Continue seaching" in the browser then click
if (ln.Text.StartsWith("Continue searching", StringComparison.CurrentCultureIgnoreCase))
{
ln.Click();
}
Thx