[twill] twill with threads

James Cameron james.cameron at hp.com
Wed Dec 17 21:09:25 PST 2008


On Wed, Dec 17, 2008 at 09:03:38PM -0800, C. Titus Brown wrote:
> On Tue, Dec 16, 2008 at 05:36:28PM -0200, Macarse wrote:
> ->         go(ip + '/login.asp')
> ->         fv('1', 'user', 'user')
> ->         fv('1', 'password', 'password')
> ->         submit('3')
>
> You could do this with twill easily enough -- just do
> 
>    browser = twill.commands.browser
>    statusPage = browser.get_html()

Yesterday I noted fv wasn't easily available, so I cut and paste it from
commands.py.  There's an opportunity to make that more available.  Sorry
I have no patch yet.

-- 
James Cameron
http://ftp.hp.com.au/sigs/jc/



More information about the twill mailing list