
Announcements
Hi - in Power Automate Desktop - using the Extract Data from Web action - the results (HTML sent to the page) are shown in blocks of 10, however all results are on one page.
They appear as follows:
The first chunk of 10 (top blue box) has the following selector:
html > body > div:eq(1) > div > div:eq(1) > div:eq(3) > div > main > div:eq(1) > div:eq(1) > div:eq(2) > div:eq(2) > div:eq(2) > div:eq(2) > div:eq(3) > div:eq(0) > div > div > div:eq(1) > div > div > div > div > div:eq(0) > divThe second chunk (second blue box) has the following:
html > body > div:eq(1) > div > div:eq(1) > div:eq(3) > div > main > div:eq(1) > div:eq(1) > div:eq(2) > div:eq(2) > div:eq(2) > div:eq(2) > div:eq(3) > div:eq(0) > div > div > div:eq(1) > div > div > div > div > div:eq(1) > divThe third chunk has:
html > body > div:eq(1) > div > div:eq(1) > div:eq(3) > div > main > div:eq(1) > div:eq(1) > div:eq(2) > div:eq(2) > div:eq(2) > div:eq(2) > div:eq(3) > div:eq(0) > div > div > div:eq(1) > div > div > div > div > div:eq(2) > div
The only difference is in the second last DIV of each Base CSS Selector, ie:
1-10: div:eq(0)
11-20: div:eq(1)
21-30: div:eq(2)
... and so on.
Is there any way within PAD where I can combine all of these selectors, regardless of the eq(0), eq(1) etc? So that I can extract all records from the page, not just 10 at a time?
eg. can I change the selector to something like:
html > body > .... > div:eq(?) > divThanks for any help,
Mark
Have you tried simply not specifying which div to read? I.e. using this as the base selector:
html > body > div:eq(1) > div > div:eq(1) > div:eq(3) > div > main > div:eq(1) > div:eq(1) > div:eq(2) > div:eq(2) > div:eq(2) > div:eq(2) > div:eq(3) > div:eq(0) > div > div > div:eq(1) > div > div > div > div > div > div