A astronald Active Member Licensed User Longtime User Oct 4, 2018 #1 can i manipulate web control as vb6 ? Webview.Document.GetElementByID("txtname").value = "nameuser" Webview.Document.GetElementByID("txtpass").value = "pass"
can i manipulate web control as vb6 ? Webview.Document.GetElementByID("txtname").value = "nameuser" Webview.Document.GetElementByID("txtpass").value = "pass"
Alberto Iglesias Well-Known Member Licensed User Longtime User Mar 28, 2019 #21 Hello steve, DO you have ideia how get the elements of a div? because in this line below I just get "peer"and "peertype" Dim JO As JavaObject = TJO.RunMethod("getElementById",Array As Object("mydivOnHtml")) Upvote 0
Hello steve, DO you have ideia how get the elements of a div? because in this line below I just get "peer"and "peertype" Dim JO As JavaObject = TJO.RunMethod("getElementById",Array As Object("mydivOnHtml"))
stevel05 Expert Licensed User Longtime User Mar 29, 2019 #22 Hi Alberto, It's working here for me, is the ID unique on the page? Can you post the HTML? Upvote 0
Alberto Iglesias Well-Known Member Licensed User Longtime User Mar 29, 2019 #23 Hello Steve, This is the page, is to get the balance of Oyster Card in London. I put the screen (the part in red box) and the html code. Note I just change the number of cards for 010101, 020202, 03030303) Thank you ALberto Iglesias Attachments divhtml.txt 16.5 KB · Views: 193 Screen Shot 03-29-19 at 07.20 AM.PNG 104.2 KB · Views: 181 Upvote 0
Hello Steve, This is the page, is to get the balance of Oyster Card in London. I put the screen (the part in red box) and the html code. Note I just change the number of cards for 010101, 020202, 03030303) Thank you ALberto Iglesias
Alberto Iglesias Well-Known Member Licensed User Longtime User Mar 29, 2019 #24 Do you have any sample with getting DIV element and his children? Thanks in advance Alberto Iglesias Upvote 0
Alberto Iglesias Well-Known Member Licensed User Longtime User Mar 31, 2019 #25 @stevel05 , don't worry, I create yesterday this library to solve this problem. https://www.b4x.com/android/forum/t...create-any-robot-with-browser.104344/#content Last edited: Mar 31, 2019 Upvote 0
@stevel05 , don't worry, I create yesterday this library to solve this problem. https://www.b4x.com/android/forum/t...create-any-robot-with-browser.104344/#content