selenium - selenide code for how to fetch dropdown list value? -


i trying fetch values dropdown list using selenide . using selectoptionbyvalue("0") can fetch 1 value.but need values inside dropdown list.let me know how using selenide code

maybe, try use this:

$$(by.xpath("//path/to/element")).iterator().foreachremaining(element -> {     /**     * code here, describe here each element found xpath      * e.x.      * element.click();     */ }); 

i used click through links on page specific class attribute.


Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -