I'm trying to automate a repetitive process on our company's expenses claim intranet site. The task requires clicking some buttons (easy to automate), and then selecting from a dropdown menu (which is where I struggle).
There are 2 dropdown menus on the webpage, "expense type" and "allowance type". The key point is that the second dropdown ("allowance type") dynamically changes based on the user's selection in the first dropdown.
I can get as far as:
This successfully selects the item I want from the first dropdown menu, but the expected behaviour is that the second submenu should poplulate, allowing me to select the "expense type". This doesn't happen. Instead, the second menu stays unpoplulated, as though I hadn't made a selection in the first menu.
How can I get the browser to "see" that I've made a selection from the first menu?