Forum Discussion
YMinaev
14 years agoStaff
Hi,
Before using the Exists property, you should wait for the target object by using the WaitItem method (see the "Waiting for a Process or Window Activation" and "WaitItem Method (Web Objects)" help topics).
In general, your script is not reliable, because object indexes (those passed to Item) can change. Use Find (see the "Find Method" help topic) to identify objects by properties with stable values (like innerText).
Before using the Exists property, you should wait for the target object by using the WaitItem method (see the "Waiting for a Process or Window Activation" and "WaitItem Method (Web Objects)" help topics).
In general, your script is not reliable, because object indexes (those passed to Item) can change. Use Find (see the "Find Method" help topic) to identify objects by properties with stable values (like innerText).
Related Content
- 6 years agoucuber
- 11 years agoreydimaano