ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pyxpcom
pyxpcom
Re: [pyxpcom] is PyXPCOM what I'm looking for?
by Shane Caraveo other posts by this author
Aug 16 2005 9:20AM messages near this date
view in the new Beta List Site
[pyxpcom] is PyXPCOM what I'm looking for? | Re: [pyxpcom] is PyXPCOM what I'm looking for?
what you're describing seems to be more generally solved via javascript 
(at least until python is a primary language in firefox).  I would 
suggest looking into jssh (http://www.croczilla.com/jssh) and using 
something like Expect in combination with that.

Shane

Chris Curvey wrote:
>  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.
>  
>  
>  ------------------------------------------------------------------------
>  
>  _______________________________________________
>  pyxpcom mailing list
>  pyxpcom@[...].com
>  To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

_______________________________________________
pyxpcom mailing list
pyxpcom@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Chris Curvey
Shane Caraveo
Matthew Sherborne
Paul Boddie
Shane Hathaway

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved