帮助webbrowser网站登录 [英] help in webbrowser website login

查看:70
本文介绍了帮助webbrowser网站登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何打开三个首先打开的电子邮件,然后返回打开第二个,然后打开第三个电子邮件,完成后写完msgbox。



我使用此代码但是当它打开时,第一封电子邮件没有打开第二封电子邮件。



How can I open three emails that opens first and goes back to open the second and then the third and when done write msgbox done.

I use this code but when it opens the first email does not open the second email.

    For i As Integer = 0 To RichTextBox1.Lines.Length - 1
    Dim str As String = RichTextBox1.Lines(i).ToString
    Dim str1 = str.Split(":")(0).ToString
    Dim str2 = str.Split(":")(1).ToString
    WebBrowser1.Document.GetElementById("username").SetAttribute("value", str1)
    WebBrowser1.Document.GetElementById("passwd").SetAttribute("value", str2)
    WebBrowser1.Document.GetElementById(".save").InvokeMember("click")
    System.Diagnostics.Process.Start("rundll32.exe", "InetCpl.cpl,ClearMyTracksByProcess 2")
Next

推荐答案

这篇关于帮助webbrowser网站登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆