mardi 2 septembre 2014

c# How I am click Continue Button?


Vote count:

0




I need click in the "Continue" button using my webbrowser control. When I am including my code with try then not going click. when I am show messeagebox.show("testing ok") in there show testing ok but when I am show el.InvokeMember("Click"); in the time not going click. I think in there something mistake or I am doing mistake something.



button value="1" class="_42ft _42fu layerConfirm uiOverlayButton selected _42g- _42gy" type="submit">Continue /button>


my code



foreach (HtmlElement el in webBrowser1.Document.GetElementsByTagName("span"))
{
if (el.InnerText == ("Continue"))
{
el.InvokeMember("Click");
}

}


asked 1 min ago







c# How I am click Continue Button?

Aucun commentaire:

Enregistrer un commentaire