J
John Bokma
I am playing a bit with hulahop/xpcom using the code found at
http://www.advogato.org/article/1014.html
but have no idea how to check if some JavaScript has finised running.
The _loaded method of Browser is called after the document has finished
loading, but as far as I can tell this doesn't mean that the JavaScript
has finised setting things up.
Is there a way to either wait a few seconds in _loaded (fragile, of
course). time.sleep() (as expected) blocks.
Or better, is there a way to check if JavaScript has stopped running?
(Hmmm... thinking of it, this can also run on events, so maybe there is
no good way to do this?)
Thanks,
http://www.advogato.org/article/1014.html
but have no idea how to check if some JavaScript has finised running.
The _loaded method of Browser is called after the document has finished
loading, but as far as I can tell this doesn't mean that the JavaScript
has finised setting things up.
Is there a way to either wait a few seconds in _loaded (fragile, of
course). time.sleep() (as expected) blocks.
Or better, is there a way to check if JavaScript has stopped running?
(Hmmm... thinking of it, this can also run on events, so maybe there is
no good way to do this?)
Thanks,