Geb: Getting value from dropdown datalist (Element not visible error) -


i need select option datalist gets populated after short time duration. have tried-unsuccessfully- far.

module module.groovy

inputbox { $("input", 0) } clientlistitemone{ $("datalist option", 0) } clientlistitemtwo { $("datalist option", 3) } clientlistitemthree { $("datalist option", 7) } 

ui test

 try{      module.inputbox.click().click()      waitfor("quick") { module.clientlistitemone.displayed }      module.clientlistitemone.click()  } 

the result though dropdown datalist visible, browser gets stuck in waitfor loop , quits.

without using waitfor loop, 'element not visible' error.

how remedy situation?

thanks lot in advance.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -