麻烦各位高手帮我看看为何输入用户名和密码后无法自动点击“登录”和旁边的“保持登录状态”呢?请帮忙给个代码指点下。谢谢#include <IE.au3>
$oIE = _IECreate("https://passport.115.com/?ct=login")
$oForm = _IEFormGetObjByName($oIE, 0)
$oQuery = _IEFormElementGetObjByName($oForm, "username")
_IEFormElementSetValue($oQuery, "88888888")
$oQuery = _IEFormElementGetObjByName($oForm, "passwd")
_IEFormElementSetValue($oQuery, "88888888")
$oQuery = _IEFormElementGetObjByName($oForm, "selType")
$oQuery = _IEFormElementGetObjByName($oForm, "submit")
_IEAction($oQuery, "click")
|