I\'m trying to automate in a WinForm using a WebBrowser control to navigate and pull report info from a website. You can enter values in textboxes and invoke the click events fo
You will have to select the selected attribute on the option you want.
selected
Given:
1 2 3
The following would selct the third option:
webBrowser1.Document .GetElementById("") .Children.GetElementsByName("option")[2] .SetAttribute("selected", "selected");