A tip if you're using iOS/iPadOS: In Safari, taking a screenshot now supports taking "full page shot", which you can save as a pdf. You get this option when you tap the tiny screenshot preview.
I had no idea. I’ve been using an app called Tailor to stitch together multiple screenshots of web pages. Until today, that is, thanks to your tip. Thank you!