twill and CLI Web Testing

A while ago I came across twill whilst working on a testing project and thought others may also be interested. twill is essentially an open source web testing tool written in Python. twill allows you to browse the Web from a command line interface. twill supports cookies, forms and most common interactions.

Below is an example of a simple Google search, taken from their example page:

setlocal query "twill Python"
go http://www.google.com/
fv 1 q $query
submit btnI # use the "I'm feeling lucky" button
show

For more information visit http://twill.idyll.org.

SHARE THIS POST

Share on facebook
Share on google
Share on twitter
Share on linkedin