Re: html + javascript automations = [mechanize + ?? ] or something else?

2007-01-21 Thread John
My python2.5 installation on windows did not come with "win32com". How do I install/get this module for windows? Thanks, --j Duncan Booth wrote: > "John" <[EMAIL PROTECTED]> wrote: > > > Is there a way > > to control a browser like firefox from python itself? How about IE? > > IE is easy enough

Re: html + javascript automations = [mechanize + ?? ] or something else?

2007-01-21 Thread John
I tried to install pamie (but I have mostly used python on cygwin on windows). In the section " What will you need to run PAMIE", it says I will need "Mark Hammonds Win32 All" which I can not find. Can anyone tell me how do I install PAMIE? Do I need python for windows that is different from cygwi

Re: html + javascript automations = [mechanize + ?? ] or something else?

2007-01-16 Thread ina
John wrote: > I have to write a spyder for a webpage that uses html + javascript. I > had it written using mechanize > but the authors of the webpage now use a lot of javascript. Mechanize > can no longer do the job. > Does anyone know how I could automate my spyder to understand > javascript? Is

Re: html + javascript automations = [mechanize + ?? ] or something else?

2007-01-16 Thread Andrey Khavryuchenko
Diez, "DBR" == Diez B Roggisch wrote: >> Up to my knowledge, there no way to test javascript but to fire up a >> browser. >> >> So, you might check Selenium (http://www.openqa.org/selenium/) and its >> python module. DBR> No use in that, as to be remote-controlled by python, selenium must

Re: html + javascript automations = [mechanize + ?? ] or something else?

2007-01-16 Thread Duncan Booth
"John" <[EMAIL PROTECTED]> wrote: > Is there a way > to control a browser like firefox from python itself? How about IE? IE is easy enough to control and you have full access to the DOM: >>> import win32com >>> win32com.client.gencache.EnsureModule('{EAB22AC0-30C1-11CF-A7EB- C05BAE0B}', 0, 1

Re: html + javascript automations = [mechanize + ?? ] or something else?

2007-01-16 Thread Diez B. Roggisch
> Up to my knowledge, there no way to test javascript but to fire up a > browser. > > So, you might check Selenium (http://www.openqa.org/selenium/) and its > python module. No use in that, as to be remote-controlled by python, selenium must be run on the server-site itself, due to JS security mo

Re: html + javascript automations = [mechanize + ?? ] or something else?

2007-01-16 Thread Andrey Khavryuchenko
John, "J" == John wrote: J> I have to write a spyder for a webpage that uses html + javascript. I J> had it written using mechanize but the authors of the webpage now use a J> lot of javascript. Mechanize can no longer do the job. Does anyone J> know how I could automate my spyder to unders

Re: html + javascript automations = [mechanize + ?? ] or something else?

2007-01-16 Thread Benjamin Niemann
Hello, John wrote: > John wrote: >> I have to write a spyder for a webpage that uses html + javascript. I >> had it written using mechanize >> but the authors of the webpage now use a lot of javascript. Mechanize >> can no longer do the job. >> Does anyone know how I could automate my spyder to u

Re: html + javascript automations = [mechanize + ?? ] or something else?

2007-01-15 Thread John
I am curious about the webbrowser module. I can open up firefox using webbrowser.open(), but can one control it? Say enter a login / passwd on a webpage? Send keystrokes to firefox? mouse clicks? Thanks, --j John wrote: > I have to write a spyder for a webpage that uses html + javascript. I > ha

html + javascript automations = [mechanize + ?? ] or something else?

2007-01-15 Thread John
I have to write a spyder for a webpage that uses html + javascript. I had it written using mechanize but the authors of the webpage now use a lot of javascript. Mechanize can no longer do the job. Does anyone know how I could automate my spyder to understand javascript? Is there a way to control a