Forum Discussion
madnut
16 years agoContributor
Thank you David,
I've tried Refresh(), but it helps only time to time. Then I decided to add one more Wait before Refresh and it looks like it helps. So, the final code now is the following:
var curPage = Sys.Process("firefox").WaitPage("*", 5000);
curPage.Wait();
curPage.Refresh();
obj = curPage.FindChild("NativeFirefoxObject.id", "txtUserName", 1000);
So, it seems that issue is resolved for me, but I have one small question: Are there any differences between WaitPage() and page.Wait() methods behavior and implementation?