[pyxpcom] is PyXPCOM what I'm looking for?
by Chris Curvey other posts by this author
Aug 15 2005 6:44AM messages near this date
view in the new Beta List Site
Re: [pyxpcom] Problems with getService
|
Re: [pyxpcom] is PyXPCOM what I'm looking for?
Hi all,
What I need to do is control a Mozilla browser via a Python script. In other
words, I want my Python script to start Mozilla, tell it to navigate to a
certain page, click on a link, fill out a form, click on a button, etc. I
want Mozilla to continue to handle JavaScript, cookies, and the rest of it.
Maybe a better way to describe it is that I want to replace my mouse and
keyboard with a Python script.
PyXPCOM looks like what I need to do this, but after reading the docs, I'm
still unclear (and this seems like a pretty deep pool to jump into
unawares). So my questions are:
Is PyXPCOM what I'm looking for?
Do I need to build my own version of Mozilla or Firefox in order to make
this happen?
It looks like I need the Mozilla or Firefox source in any case, just to
compile PyXPCOM. Is this correct?
Can anyone point me to any doco for the interfaces that Mozilla/Firefox
provides thru XPCOM?
I'll stop asking questions now :) Thanks in advance, and if PyXPCOM is the
right thing for me, then I look forward to working with you all.
Attachments:
unknown1
unknown2
unknown3
unknown4
Thread:
Chris Curvey
Shane Caraveo
Matthew Sherborne
Paul Boddie
Shane Hathaway
|