[twill] Twill question

Titus Brown titus at caltech.edu
Sun Jul 16 08:58:33 PDT 2006


On Sun, Jul 16, 2006 at 06:46:56PM +0200, Shahar Yifrah wrote:
-> 
-> Hi,
-> 
-> I'm happily using Twill Python API for over a year now for overnight 
-> file downloading via FTP and website.
-> - Thank you!

I'm glad to hear that!

-> I've spent a few hours today trying to overcome a problem:
-> How to press a non-submit button (that is wired with JavaScript)?
-> It is a 'Input type=button ...':
-> 
-> <INPUT type=button name="btnRun" id="btnRun" value="Run" 
-> onclick="thisPage._fireEvent('btnRun','onclick'); return false;">

You *should* be able to just say 'submit' after clicking on the button,
e.g.

  fv 1 btnRun click
  submit

Let me know if that doesn't work ;).

cheers,
--titus



More information about the twill mailing list