用户名:jyhui
密码:305305
内网登录前网址:
http://xx.xx.100.221/logon.jsp
内网登录后网址:
http://xx.xx.100.205/jnzyweb/platformData/infoplat/pub/jnzyweo?flag=tz&userNameNew=jyhui&jsId=oxmeCRfDlYtqAlAlgQuewhf2hwhMGfxJb_2612/account/loginFun.d
其他的怎样改?
谢谢!
Dim web As System.Windows.Forms.WebBrowser = e.Form.controls("webbrowser1").basecontrol
Dim Inputs = web.Document.GetElementById("login2").GetElementsByTagName("input")
For Each Input As object In Inputs
If Input.id = "inputid" Then
Input.SetAttribute("value", "jyhui")
ElseIf input.id = "inputPassword"
Input.SetAttribute("value", "305305")
ElseIf Input.id = "btnQyyhdl" Then
'Input.InvokeMember("click")
End If
Next