Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Value.Text = Value.Text - 1 If Value.Text = 0 And WebBrowser1.DocumentText.Contains(User.Text) Then WebBrowser1.Document.GetElementById("msg").InnerText = R1.Text WebBrowser1.Document.GetElementById("submit").InvokeMember("Click") Value.Text = 240 LatestActivity.Text = (DateTime.Now.ToString()) End If End Sub
browser.ExecuteScriptAsync("document.GetElementById('message').InnerText;" = R1.Text)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)