i have a c# web browser and when it loads the page i want the program to click on Element
i found he way to click this element when i know the ID
htmlelement ele = webBrowser1.Document.GetElementById("the ID"); if (ele != null)
ele.InvokeMember("click");
but some elements have no ID or changeable ID how can i do this by value or class or something else instead of ID ??
the web page is java page maybe a got the the source code but what is the right way to do that
and if i know how to identify the element how could i change the value if the element is a textbox ??
Something like
might work.