Forum Discussion

funmay's avatar
funmay
Contributor
7 years ago
Solved

Select drop down problems

I am having problem to select a drop down item with ClickItem(), it was working before until the tags "select and option" have been replaced with "div".

It was  working with these below html tags with select and options

e.g 

<select id='dropDownMenu'>
  <option value='foo'>Title1</option>
  <option value='bar'>Title2</option>
</select>

but it is not working with the below example for the html  

<div id='dropDownMenu'>
  <div value='foo'>Title1</div>
  <div value='bar'>Title2</div>
</div>

Could you please let me know if there is any other method to select the dropdown without using the ClickItem()