The new code I tried didn't seem to work so I'm looking for guidance on how my VB code setup for an IE browser can be converted to work in Chromium:
The new code I've started with is simply:Code: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
But I unfortunately had no luck with it so any guidance is greatly appreciated.Code:browser.ExecuteScriptAsync("document.GetElementById('message').InnerText;" = R1.Text)




Reply With Quote
