[twill] multiple instances
titus at caltech.edu
Wed Sep 20 00:25:00 PDT 2006
On Tue, Sep 19, 2006 at 04:23:00PM -0700, Bryan wrote:
-> is it possible to have multiple instances of a browser with it's own state?
-> i did this but it didn't work:
-> b1 = get_browser()
-> b2 = get_browser()
-> it seems that get_browser is returning a singleton and b1 and b2 are
-> affecting each other.
sure. Just do
b1 = twill.browser.TwillBrowser()
b2 = twill.browser.TwillBrowser()
More information about the twill