sub Navigate { #$URL,[$popup]
Description: Navigates to a URL (webpage)
.
How To:
Decide which website you would like to start samie with. Usually, you only use Navigate once per samie script.
Example:
I would like to navigate to weather.com http://www.weather.com
Navigate("http://www.weather.com");
Cookbook recipe
use Win32::OLE; use Win32::SAM; #use Win32::Slingshot;
$| = 1; my $URL = "http://www.weather.com"; my $seconds;
$Win32::OLE::Warn = 3;
StartIE(); $seconds = Navigate($URL); print "$URL took $seconds seconds to load\n"; Further Notes:
The second parameter $popup is optional. It tells samie that the FormButton is going to raise a popup window.