I’m using HtmlUnit in Java to navigate to a web page. From that webpage i need to log in and then go from there. I know how to type in the user name and password but then there is a dropdown box where i need to select one of the options. How do i select an option from a dropdown box in HtmlUnit?
Thanks
I’m using HtmlUnit in Java to navigate to a web page. From that webpage
Share
You can navigate and manipulate the page
<select>elements usingHtmlSelect:The JavaDoc shows that there are a lot of flexible API methods for doing things like this.