How do I select an item from a dropdown menu?
If the page has a dropdown menu, you can use Browserbear's Dropdown action to open the menu and select an item.
- Head to your Task
- Add the Dropdown action
- Use the Browserbear Helper to select the dropdown field element and copy the Xpath data to the Helper field
- Under Choice, enter the option you want to select (in plain text) from the dropdown
- Save
Note: The Dropdown action is only compatible with <select> elements. If you're experiencing the following error "locator.selectOption: Error: Element is not a <select> element", this means the dropdown isn't a <select> element.
Non <select> elements may require two separate Click actions; one to activate the dropdown and another select the choice from the list.