Select a checkbox from a dropdown list of type webelement
I need some help to create a function that selects a single value from a dropdownlist which is a webelement, and which contains a list of checkboxes..
I have an example of what I wish to achieve in the following link: https://www.primefaces.org/showcase/ui/input/checkboxMenu.xhtml
As you can see, there is a list named "Multiple" which contains a list of cities, from which the selected one(s) are displayed and highlighted.
I wish to achieve something similar, but I only require one value to be selected and submitted.
For example, I need the list to be clicked, Paris to be selected, and then the Submit button clicked.
Thank you in advance!