How to mass download pdf by simple click

We just need a simple click inside a paginated scraping

The scenario is simple, we need to access multiple pages sequentially (using pagination), just click on a link on every page (a links that runs a javascript that donwloads a pdf to local), and go for next page

We tried Element Click selector inside a pagination, and it does not work.

The scraper just opens first page, click once (one pdf is dowloaded automatically), and it stops

It seems the scraper is waiting for something, and remains still

@is7269148 Hi, can you share your sitemap or the targeted website?

Hi @ViestursWS the sitemap below. Not the site as it is accesible with login

{"_id":"test_click_pdf","startUrl":["https://demo.start.com"],"selectors":[{"delay":0,"id":"Name","multiple":false,"parentSelectors":["paginación"],"regex":"","selector":"p.name","type":"SelectorText"},{"clickElementSelector":"#CPH_Body_lnkBtnNext span","clickElementUniquenessType":"uniqueHTML","clickType":"clickMore","delay":2000,"discardInitialElements":"do-not-discard","id":"pagination","multiple":true,"parentSelectors":["_root"],"selector":"div#CPH_Body_ucFile1","type":"SelectorElementClick"},{"clickElementSelector":"a","clickElementUniquenessType":"uniqueText","clickType":"clickOnce","delay":200,"discardInitialElements":"discard","id":"clic","multiple":false,"parentSelectors":["paginación"],"selector":"a","type":"SelectorElementClick"}]}

Thanks!

Hi @ViestursWS , any idea on how to solve this?

My guess is:

  1. one click elementor selector inside another click elementor selector > does not work
  2. element selector waits for new info to be loaded after click, and this never happens (as the click is just used to run a javascript to download a file, but it does not change the page)

Thanks for the help