carter2408 Posted November 15, 2015 Report Posted November 15, 2015 Ce vreau eu sa fac este cand apas butonul 1 din visual basic, c# sa apese pe butonul C L A I M de pe siteul freebitcoinhome.comPrivate Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click WebBrowser1.Document.GetElementById("Aici vine id").InvokeMember("click")Codul html pentru butonul C L A I M<button type="button" class="btn-custom btn" data-toggle="modal" data-target="#ModalConfirm">C L A I M</button> Quote
Byte-ul Posted November 15, 2015 Report Posted November 15, 2015 (edited) Cauta-l dupa clasa.document.getElementsByClassName("btn-custom btn")[0].click(); Edited November 15, 2015 by Byte-ul Quote
carter2408 Posted November 15, 2015 Author Report Posted November 15, 2015 Cauta-l dupa clasa.document.getElementsByClassName("btn-custom btn")[0].click();Si cum il declar ? Quote