Re: Looking for browser emulator

2011-10-13 Thread Roy Smith
In article , Gary Herron wrote: > Try mechanize >http://wwwsearch.sourceforge.net/mechanize/ > billed as >Stateful programmatic web browsing in Python. Wow, this is cool, thanks! It even does cookies! -- http://mail.python.org/mailman/listinfo/python-list

Re: Looking for browser emulator

2011-10-13 Thread Gary Herron
On 10/13/2011 07:19 PM, Roy Smith wrote: I've got to write some tests in python which simulate getting a page of HTML from an http server, finding a link, clicking on it, and then examining the HTML on the next page to make sure it has certain features. I can use urllib to do the basic fetching,

Re: Looking for browser emulator

2011-10-13 Thread Miki Tebeka
IIRC mechanize can do that. -- http://mail.python.org/mailman/listinfo/python-list

Re: Looking for browser emulator

2011-10-13 Thread Roy Smith
In article <2323f3d7-42ff-4de5-9006-4741e865f...@a9g2000yqo.googlegroups.com>, Jon Clements wrote: > On Oct 14, 3:19 am, Roy Smith wrote: > > I've got to write some tests in python which simulate getting a page of > > HTML from an http server, finding a link, clicking on it, and then > > exami

Re: Looking for browser emulator

2011-10-13 Thread Jon Clements
On Oct 14, 3:19 am, Roy Smith wrote: > I've got to write some tests in python which simulate getting a page of > HTML from an http server, finding a link, clicking on it, and then > examining the HTML on the next page to make sure it has certain features. > > I can use urllib to do the basic fetch

Re: Looking for browser emulator

2011-10-13 Thread Jon Clements
On Oct 14, 3:19 am, Roy Smith wrote: > I've got to write some tests in python which simulate getting a page of > HTML from an http server, finding a link, clicking on it, and then > examining the HTML on the next page to make sure it has certain features. > > I can use urllib to do the basic fetch

Looking for browser emulator

2011-10-13 Thread Roy Smith
I've got to write some tests in python which simulate getting a page of HTML from an http server, finding a link, clicking on it, and then examining the HTML on the next page to make sure it has certain features. I can use urllib to do the basic fetching, and lxml gives me the tools to find the