【发布时间】:2015-06-05 19:33:37
【问题描述】:
我在使用 Internet Explorer API 时遇到问题。 之前我曾经使用
连接、授权和按下网站上的按钮ie = CREATEOBJECT("InternetExplorer.Application")
ie.navigate('site')
ie.document.all("login").value = login
ie.document.all("password").value = password
ie.document.all("auth").click
现在这个站点不支持 Internet Explorer,或者更确切地说,不支持 IE 的兼容性设置。
当兼容性设置打开时,我可以使用这种方式进行授权,但之后无法单击脚本(甚至手动),当兼容性设置关闭时,我无法授权并手动单击。
请告诉我,另一种打开资源管理器、阅读内容、填写字段以及单击按钮和脚本链接的方法?
【问题讨论】:
标签: internet-explorer automation click