[twill] RELEASE: twill 0.8.2
titus at caltech.edu
Tue Feb 7 00:04:38 PST 2006
ANNOUNCING twill v0.8.2.
twill is a simple language for browsing the Web. It's designed for
automated testing of Web sites, but it can be used to interact with
Web sites in a variety of ways. In particular, twill supports form
submission, cookies, redirects, and HTTP authentication.
A twill script to use the "I'm feeling lucky" button on Google looks
setlocal query "twill Python"
fv 1 q $query
submit btnI # use the "I'm feeling lucky" button
(Note that using this script abuses Google's Terms of Service. So don't.)
This is the eighth public release of twill, version 0.8.2.
You can install twill with easy_install, or download this release at
Documentation is included in the .tar.gz and is also online at
twill is implemented in Python and uses pyparsing and mechanize. In
addition to the existing simple command language, twill can easily be
extended with Python. twill also provides a fairly simple and
well-documented wrapper around mechanize.
* added robust-ified form parsing code;
* updated to latest mechanize, ClientForm, ClientCookie code;
* updated to latest pyparsing code (1.4.1);
* updated to latest wsgi_intercept code;
* 'set_output' can now be used to redirect twill output specifically;
* added execute_script function;
* added return values to a number of the simple command-line functions;
* fixed bugs in 'showlinks', 'go';
Backwards incompatibility issues:
* changed tidy config option names;
* wsgi_intercept code now wants a function that does its own app object
More information about the twill