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

Andrey Khavryuchenko akhavr at
Tue Jan 16 11:38:48 CET 2007


"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 understand javascript? Is there
 J> a way to control a browser like firefox from python itself? How about
 J> IE?  That way, we do not have to go thru something like mechanize?

Up to my knowledge, there no way to test javascript but to fire up a

So, you might check Selenium ( and its
python module.

Andrey V Khavryuchenko            
Software Development Company

More information about the Python-list mailing list