selenium - Select option are in "_listener" attribute -


have tag like:

<select class="xyz"_listener= "<select class="gwt-listbox"><option value="select option"></option> <option value="name1"></option> <option value="name2"></option> <option value="name3"></option> </select>" </select>          

if have options under select tag, take using select class. here select value(name1, name2, name3) being in _listener attribute.

so how value , give input drop down box in selenium?

try using concat function append double quotes in value below

    \\select[@_listener='concat('<select class=',",'gwt-listbox',",'<option value=',",-----------------] 

hope work..


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -