foreach (HtmlElement _a in webbrowser.Document.GetElementsByTagName("a"))
{
if(_a.InnerText=="Download")
{
_a.Focus();
_a.InvokeMember("click");
}
}
Program kapanmıyor yönlendirdiği site bu hatayı veriyor hocam çözümü nedir?
" Info icon The website declined to show this webpage "
veya bu butonun bağlantı adresini nasıl kopyalarım?
Bu arada butona bastığımda o birinci href e gidiyor. Bu butonun tam gitmek istediği yere nasıl gidebilirim?
Resim:

--R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 19:57:41 -->-> Daha önceki mesaj 19:36:10 --
Sorunu çözdüm:
int i = 0;
foreach (HtmlElement _a in webBrowser1.Document.GetElementsByTagName("a"))
{
if (_a.InnerText == "Download")
{
i++;
}
if (i==3)
{
_a.Focus();
_a.InvokeMember("click");
}
}
teşekkürler.