简体   繁体   English

如何使用Perl控制Internet Explorer?

[英]How can I control Internet Explorer with Perl?

Is it possible to control progammatically Internet Explorer with Perl and have each opened instance of IE configured to use different proxy? 是否可以使用Perl通过编程方式控制Internet Explorer,并将每个打开的IE实例配置为使用不同的代理?

Could someone provide code example or point to some CPAN module which do that? 有人可以提供代码示例或指向某些CPAN模块吗?

尽管完全有可能通过多种方式通过Perl控制Internet Explorer(使用Win32 :: IE ::: Mechanize或通过Win32 :: OLE来访问IBrowser2和相关接口 ),但我对您运行具有不同实例的多个实例的需求表示怀疑代理可以满足。

Look up Selenium . 查找

This is a browser-automation tool, commonly used for testing web sites. 这是一种浏览器自动化工具,通常用于测试网站。

It can integrate into Perl. 它可以集成到Perl中。 (see http://seleniumhq.org/about/platforms.html#programming-languages ) (请参阅http://seleniumhq.org/about/platforms.html#programming-languages

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用Perl自动执行Internet Explorer的现有实例? - How can I automate an existing instance of Internet Explorer using Perl? 如何使用WinAPI将SendMessage发送到Internet Explorer 9 - How can i SendMessage to Internet Explorer 9 with WinAPI 如何提供关闭Internet Explorer窗口的确认? - How can I provide a confirmation for closing an Internet Explorer window? 如何卸载Internet Explorer - how to uninstall Internet explorer 从Windows资源管理器执行perl程序时,如何保持dos框处于打开状态? - how can I keep the dos box open when executing a perl program from windows explorer? 如何创建一个简短命令以启动以另一个帐户运行的浏览器(我将使用Internet Explorer) - How can I create a short command to launch a browser (Internet Explorer is what I'll use) running as another account 如何检测安装了哪个版本的Internet Explorer? - How do I detect which version of Internet Explorer is installed? 如何识别浏览器栏(Internet Explorer)是否隐藏? - How to identify an Explorer Bar(Internet Explorer) is hidden or not? 如何将Explorer中的图片拖放到WPF控件上? - How can I drag and drop a picture from Explorer onto a WPF control? 如何使用Perl快速修复大文件中的EBCDIC控制字符? - How can I quickly fix EBCDIC control characters in large files using Perl?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM