Is there a way to retrieve a hidden dropdown menu on a webpage using selenium webdriver? The process involves selecting an option from a navigation bar, which triggers the appearance of the dropdown menu. I then need to choose a value from the list on the dropdown menu.
I am specifically looking for guidance on how to accomplish this task using Java selenium webdriver. The challenge lies in the fact that the html tags do not possess unique identifiers such as name or id. Instead, they only have class names that dynamically change every time an option is clicked in the navigation bar.