I have the following code:
<span class="dropDown">Choose</span>
<div class="dropdownQuestions active" style="display: block; max-height: 310px;">
<span data-index="0" data-value="1" onclick="gt.setQuestion(this, true);">Warrior</span>
<span data-index="1" data-value="2" onclick="gt.setQuestion(this, true);">Mage</span>
<span data-index="2" data-value="3" onclick="gt.setQuestion(this, true);">Sorcerer</span>
And what I want, if possible, is a list of the the drop down list so after I can use one of them to click, I have searched a lot and could not find any answer that would help me.
Other option would be to click using the data-index, or data-value String. the last option I would want is clicking by the String "Warrior", "Mage" or "Sorcerer", but if there is no other way, Ill be glad with that.
thanks!