- 论坛徽章:
- 0
|
我Perldoc Win32::IEAutomation了一下,看到如下信息:
# To navigate to some secure site and pushing 'Yes' button of securi
ty alert dialog box
use Win32::IEAutomation;
use Win32::IEAutomation::WinClicker; # this will provide methods to
interact with dialog box
my $ie = Win32::IEAutomation->new();
$ie->gotoURL("https://some_secure_site.com", 1); # second argument s
ays that don't wait for complete document loading and allow code to go to next l
ine.
my $clicker = Win32::IEAutomation::WinClicker->new();
$clicker->push_security_alert_yes();
$ie->WaitforDone; # we will wait here for complete loading of naviga
ted site
谢谢各位,还有个小问题,这个安全信息筐如何表示?再次感谢 |
|