Forum Discussion

jonjdavey's avatar
jonjdavey
Occasional Contributor
16 years ago

WaitChild does not appear to recognise when a Link object appears in a webpage

I cannot get WaitChild to work for a logout Link which only appears after user has logged in:

Set logoutLink = Sys.Process("iexplore").Page(uRL).Panel(0).Panel(0).Panel(1).WaitChild("Link(2)", 1000)



If I insert a sleep(100) before the line of code above it works, but that defeats the object of trying to use the WaitChild method