The underlying code, choose the word you want. I wrote these words I want to click on the link. Words may be wrong, so I use Google Translator. Only the “range” values statement how to click? Thank you.
if (webBrowser1.Document != null)
{
IHTMLDocument2 document = webBrowser1.Document.DomDocument as IHTMLDocument2;
if (document != null)
{
IHTMLSelectionObject currentSelection = document.selection;
IHTMLTxtRange range = currentSelection.createRange() as IHTMLTxtRange;
if (range != null)
{
const String search = "Sayfalar";
if (range.findText(search, search.Length, 2))
{
range.select();
}
}
}
}
To submit the form you just need to know the id of the submit button
VB.NET
C#
Contact if you have any doubt.