By automatically, I would hope you mean a kind of "wait_for()" method,
rather than doing it unseen in the background. At first thought it
seems the latter would be terribly inefficient, especially since it is
only necessary in relatively rare cases.
Time and efficiency are definitely a
I thought you meant there was an explicit delay. While I do not doubt
what you say, it seems strange that even a mess of _javascript_ should
take very long. On the other hand, in recent months I have seen some
_javascript_ that was, indeed, a real mess. Can you be more specific
about what it