I'm trying to use the "Extract data from web page" to get a list of div titles. For some reason the component returns only the first element from a list and I can't understand why it is happening, that's why I need help or suggestions to solve this issue
I checked selectors for all the elements and the structure is exactly the same (but the IDs, titles etc are different, which should be OK)
- div[Class="wrapper"] > div > div[Id="generalTab"]
- div[Class="wrapper"] > div > div[Id="otherTab"]
"Extract data from web page" settings:
- Base CSS: div[Class="wrapper"] > div
- CSS: div [tried also with Class!="separator", same result]
- Attribute: id [for testing purposes]
I cannot share the website, but here is the HTML tree. it is not loaded dynamically, all elements are displayed
...
<div class="wrapper">
<div>
<div id="generalTab" title="General">...</div>
<div class="separator"></div>
<div id="otherTab" title="Other">...</div>
...
</div>
</div>
...