【发布时间】:2015-08-14 17:58:45
【问题描述】:
问题是: 我在 html 中有表单,其中包含:-
"two text-box" 和 " bottom to submit"
我想要的是: 使脚本自动添加一些文本并提交表单,而无需打开 Internet Explorer 窗口(仅脚本)。
我尝试实现get和post,但失败了
#include<ie.au3>
$oHTTP = ObjCreate("winhttp.winhttprequest.5.1")
$oHTTP.Open("GET", "http://localhost/2.html", False)
_IELinkClickByText( $oHTTP , "submit")
$oHTTP.Send()
【问题讨论】:
标签: html autocomplete automation autoit