in reply to How to Refresh iexplore

Assuming you're trying to refresh an IE which has already been launched, you'll have to go to some trouble to locate that object. My approach, below, is to get the list of all open Explorer windows (which, unfortunately, includes both regular "Windows Explorer" windows and IE windows), and sift through them based on various attributes, such as the app's full name and current URL.
use Win32::OLE; my $sh = new Win32::OLE 'Shell.Application' or die "new Shell.App"; my $wins = $sh->Windows; for ( in $wins ) { if ( Win32::OLE->QueryObjectType($_) eq 'IWebBrowser2' ) { if ( $_->FullName =~ /IEXPLORE.EXE/ and $_->LocationName =~ /Welcome to my world/ # page's title # $_->LocationURL =~ /perlmonks.org.*jdporter/ # page's UR +L ) { $_->Refresh; } } }