sub ClickBackButton {
Description: Clicks on the browser's
back button
How To:
Just call the subroutine and the backbutton will get clicked.
Example:
ClickBackButton();
Cookbook recipe
use Win32::OLE; use Win32::SAM; #use Win32::Slingshot; $| = 1; my $URL = "http://samie.sourceforge.net/ClassLink.html"; my $seconds; $Win32::OLE::Warn = 3; StartIE(); $seconds = Navigate($URL); print "ClassLink.html page took $seconds seconds to load\n"; ClickAClassNameHyperlink("bodylink"); ClickBackButton();