创建一个IE类,它会随着网页自动刷新而更改内容么?
创建一个IE类,它会随着网页自动刷新而更改内容么?$oIE = _IECreate('http://1.1.1.1/login/default.aspx')
_IEPropertySet ($oIE, "width", 1000)
_IEPropertySet ($oIE, "height", 760)
$table = _IEFormGetObjByName ($oIE, "Form2")
$oQuery = _IEFormElementGetObjByName ($table, "txtUserID")
_IEFormElementSetValue ($oQuery,"boco\"&$usr)
$oQuery = _IEFormElementGetObjByName ($table, "txtPwd")
_IEFormElementSetValue ($oQuery, $psd)
$oQuery = _IEFormElementGetObjByName ($table, "btnSubmit")
_IEAction($oQuery ,"click")
下面想对登录后的页面进行分析,怎么办? 当然会变了,因为你是调用的ie浏览器啊
页:
[1]