我这里有一批账号和密码需要尝试登陆,是用webbrowser的吧。
            webWow.Document.GetElementById("accountName").SetAttribute("value", u.AccountName);
            webWow.Document.GetElementById("password").SetAttribute("value", u.PassWord);
            webWow.Document.GetElementById("password").Focus();
            SendKeys.Send("{Enter}");
上面的u是我建的存储用户密码的类user。
登陆成功之后页面会跳转,登陆不成功页面也会有所显示。
我想知道怎么判断是否登陆成功。第一次用这个,请大家给个思路。