I'm attempting to get a list of elements in a dropdown list on a page wihtout expanding the list first.
I've got a piece of html, where a dropdown list is created like this:
<est-select id="egenkapitalType0" name="egenkapitalType0" value="Velg type egenkapital…" <div class="select">
<input type="text" class="select-trigger id="egenkapitalType0-input" placeholder="Velg type egenkapital…">
<ul role="listbox" id="egenkapitalType0-liste" class="select-liste" aria-hidden="false" ng-transclude="">
<li id="egenkapitalType0-0" role="option" class="select-valg data-verdi="BANKINNSKUDD_BSU" value="BANKINNSKUDD_BSU">Bankinnskudd/BSU</li>
<li id="egenkapitalType0-1" role="option" class="select-valg data-verdi="AKSJER" value="AKSJER">Aksjer</li>
</ul>
(I've removed lots of irrelevant html code, so this sample might lack some closing etc.)
Is this possible? Either the displayed text or the values? Or is the access to the elements dependant on them being visible and accessible on the page?