Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


Submit Value To Html Textbox1 With Awesomium - Vb.Net


Submit Value To Html Textbox1 With Awesomium - Vb.Net

Author
Message
carter2408
carter2408
Forum Member
Forum Member (49 reputation)Forum Member (49 reputation)Forum Member (49 reputation)Forum Member (49 reputation)Forum Member (49 reputation)Forum Member (49 reputation)Forum Member (49 reputation)Forum Member (49 reputation)Forum Member (49 reputation)

Group: Forum Members
Posts: 1, Visits: 3
Using this code to load the website



Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

WebControl1.Source = New System.Uri("https://login.yahoo.com/config/login")





And this code to submit the value to html textbox1



Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click

WebControl1.ExecuteJavascript("document.getElementById('login-text').value=" + TextBox1.Text)



The textbox with id (login-text) work fine but the other one ( pass ) always get empty ?

TEST
Edited
11/8/2015 by carter2408
zack
zack
Forum God
Forum God (1.3K reputation)Forum God (1.3K reputation)Forum God (1.3K reputation)Forum God (1.3K reputation)Forum God (1.3K reputation)Forum God (1.3K reputation)Forum God (1.3K reputation)Forum God (1.3K reputation)Forum God (1.3K reputation)

Group: Forum Members
Posts: 102, Visits: 110
Try using SendKeys.Send method to fill password box.



SendKeys.Send = ("YourPassword")
GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search