- use Win32::IEAutomation ;
- use Win32::IEAutomation::Table;
- use Win32::IEAutomation::Element;
- use Win32::IEAutomation::WinClicker;
- my $ie = Win32::IEAutomation -> new();
- my $url_01 = "http://192.168.204.105/man.htm";
- $ie -> gotoURL("$url_01");
- my @m = $ie -> PageText();
- table 里面的元素
- my $mun = $ie -> getTable("name:","vertab") -> tableCells(2,1) -> cellText();
- 获取 Frame leftFrame 里面的对象
- $ie -> getFrame("name:","leftFrame") -> getLink("linktext:","VLAN管理") -> Click();
转载于:https://blog.51cto.com/624569/497494