This task can be performed using Quilt
Hands-free screenshot automation for macOS
Best product for this task

Quilt
productivity
Quilt is a macOS app that lets you take automated screenshots of any content on your screen and export them as a searchable PDF. It can press keys or click between captures, making it perfect for scraping textbooks, viewing slides, or archiving protected material. With full control over intervals, countdowns, and capture area, Quilt saves time and works entirely offline.

What to expect from an ideal product
- Quilt captures screenshots automatically so you don't have to manually click through every page of your textbook or document
- The app can press arrow keys or page down buttons between each screenshot, letting it flip through pages on its own while you do other things
- You can set exactly how long to wait between each capture, giving pages enough time to load properly before taking the next screenshot
- All your screenshots get saved as one searchable PDF file instead of hundreds of separate image files cluttering your computer
- Works completely offline without needing internet, so you can screenshot protected textbooks or documents that might block online tools