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.