|
NAMEWWW::Scripter::WindowGroup - Multiple-window browsing environment VERSIONVersion 0.032 SYNOPSIS use WWW'Scripter'WindowGroup;
$browser = new WWW'Scripter'WindowGroup;
# This has one window already
# OR:
$browser = new WWW'Scripter'WindowGroup empty => 1;
$browser->attach($w = new WWW'Scripter);
$w = $browser->active_window;
$w->get('http://ghare.dr/');
$w->close;
$w = $browser->new_window;
@w = $browser->windows;
DESCRIPTIONThis module provides a virtual multiple-window browsing environment for WWW::Scripter. It does not actually create any windows on the screen, but it can be used to script websites that make use of multiple windows. The individual windows themselves are WWW::Scripter objects. Before you start using this, consider whether the site you are scripting actually needs multiple windows. If a single-window environment will do, use WWW::Scripter directly. Note: Window groups hold strong references to their windows, but the windows themselves hold weak references to the window group. So if you let a window group go out of scope while retaining a reference to a window, that window will revert to single-window mode. METHODS
AUTHOR & COPYRIGHTSee WWW::Scripter SEE ALSO
|