Next button automation issues

I have used Data Miner for several scrapes already however, I am unable to figure out a way to set up the next page automation for this website. There is a next arrow but the “NAV” step in Data Miner is not selecting the next arrow rather selects the full bundle of page numbers.

Site: SAP Partner Finder

I tried to use advanced settings where I put the HTML selecter as

  1. a:contains(›)
  2. .active + li a

None worked… any help on how to set the next page automation for this page would be appreciated

image

Hi There,

Thanks for posting.

I took a look at the site, but unfortunately, Data Miner will not be able to automate the pagination for this site. The next button is inside a shadow-root element. Shadow root data is rendered separately from the main HTML and Data Miner can only access the main HTML. So we do not have access to this element. That is why you are not able to select it.

Sorry to break the bad news. Please let me know if you have any questions.

Shadow DOM does explain why the selector picker grabs the wrapper instead of the arrow. One thing worth checking before giving up: if clicking through the pages changes the URL (something like ?page=2 or a hash), you may be able to skip the NAV step entirely and feed Data Miner each page URL in turn, scraping one page per run. If the URL stays fixed, a small browser-automation script (Puppeteer/Playwright) that pierces the shadow root and clicks the arrow could hand each rendered page to Data Miner. Worth a quick look at the address bar as you page through.