Currently, I am facing a challenge when trying to select a value from a custom dropdown menu that contains numerous options. The issue arises when attempting to choose values beyond the first one due to excessive padding spaces in the text.
While my code works for selecting the initial value:
find('.selected', :text=>arg1,exact: false).click
I need help figuring out how to address this situation and successfully select the remaining values with ease. Any suggestions?