Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.python
XPCOM/hulahop: waiting for JavaScript finished?
John Bokma
3/25/2010 10:14:00 PM
I am playing a bit with hulahop/xpcom using the code found at
http://www.advogato.org/article...
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,
--
John Bokma j3b
Hacking & Hiking in Mexico -
http://john...
http://castle...
- Perl & Python Development
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
XPCOM/hulahop: waiting for JavaScript finished?
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password