ScreenshotNeo

BlogHow-to

How to Save Infinite-Scroll Comments on a Hindi Website as a PDF

Load the comments you need before printing, save the page as a PDF, and check the result for missing comments and unreadable pages.

By the ScreenshotNeo team4 October 20267 min read

To save comments from an infinite-scroll page, first load the comments you want by scrolling through the discussion, then use your browser’s Print command and choose Save as PDF. Check the preview and the saved file: a PDF can be created successfully even when comments that never loaded are missing.

This workflow is for comments available to you through the website’s normal interface. It does not bypass a login or other access control. Since the website is unspecified, its comment loading and print behavior may vary.

1. Load the comments you want included

  1. Open the page and wait for the first comments to appear. If the site requires an account, sign in normally.
  2. Scroll down through the comments a little at a time. Pause when the page is loading more, then continue. Keep going until the last comment you want is visible.
  3. If the outer page stops moving but comments continue below, try scrolling inside the comments panel. Some sites put comments in their own scrollable area.
  4. Look for a loading spinner, a “Load more” control, or a message showing that you have reached the end. Use the site’s controls as needed.
  5. Before printing, note the first and last comments you intend to keep. You can use them to check that the PDF covers the right range.

Infinite scrolling usually adds content as you move down the page. Opening Print before the comments have loaded can therefore produce a PDF that contains only the comments currently rendered. Scrolling to the bottom of the main page may not be enough if the comment list has its own scroll area or explicit load-more control.

2. Save the page as a PDF

Chrome on a computer

  1. With the desired comments loaded, open the browser’s Print dialog. Use Ctrl + P on Windows or Linux, or Command + P on Mac.
  2. In the destination or printer selector, choose Save as PDF if it is available.
  3. Review the preview. Check that the comment text is present, the page range includes the intended comments, and the text is readable.
  4. Adjust available settings such as pages or margins if they improve the layout, then save the file.

Google’s Chrome print instructions cover opening print preview, choosing a destination, and changing print settings. They do not guarantee that every site’s dynamically loaded comments will appear.

Firefox

  1. Load the comments you want, then open Print from the browser menu.
  2. Choose Save to PDF from the destination dropdown.
  3. Inspect the preview for missing comments and awkward page breaks, then save.

See Mozilla’s Firefox printing instructions for the print workflow.

Microsoft Edge

  1. Load the desired comments and open Print from the browser menu.
  2. Choose a PDF destination if offered by your system’s print dialog.
  3. Review the preview and settings. Edge’s print dialog includes settings such as margins under More settings.
  4. Save the PDF and inspect it afterward.

See Microsoft’s Edge printing instructions.

3. Verify the saved PDF

Do not treat the save confirmation as proof that the whole discussion was captured. Open the PDF and check:

  • The beginning: the first comment you intended to include is present.
  • The middle: there are no obvious gaps where a batch of comments should be.
  • The end: the last intended comment appears.
  • Readability: text is not clipped, too small, or obscured by page breaks.
  • Scope: the PDF does not unexpectedly include or omit large sections of the page.

If comments are missing, return to the page, scroll farther to trigger more loading, and print again. If the print layout is poor, a full-page capture extension may be worth trying, but inspect its result too. An extension’s listing or feature description does not establish that it will capture every comment on a particular site.

Browser print or a full-page capture?

Method Best for Check carefully
Browser Print → Save as PDF A paginated, document-style record. Only content rendered by the page may print, and print styling can differ from the interactive page.
Full-page capture extension A fallback when the print layout omits content or is difficult to read. Confirm completeness and readability. Review the extension’s access requests and do not assume auto-scroll works on every site.

For example, the Full Page Saver Firefox Add-ons listing describes auto-scroll and PDF features. That description is not an independent guarantee of reliability on your page.

Advanced: print a page to PDF with headless Chrome

For a page that is public and does not require an interactive sign-in, Chrome’s headless command line can print a page to PDF:

chrome --headless --print-to-pdf="comments.pdf" "https://example.com/discussion"

Replace the example address with the page you are allowed to access. Chrome documents --print-to-pdf and a --timeout option in its Headless Chrome command-line reference. A timeout only limits how long Chrome waits before capture; it does not scroll an infinite list or guarantee that comments have loaded. A site-specific automation script would need to handle scrolling and loading, and its output still needs checking.

This command is not a way to carry over an interactive browser login. If the page requires sign-in, use the ordinary browser workflow unless you have an authorized automation setup for that site.

Troubleshooting

Problem Likely cause What to try
The PDF contains only the first few comments. The remaining comments had not loaded when printing started. Return to the page, scroll through the comment area in stages, wait for each batch, then print again.
Scrolling the page does not load more comments. The comments may be in a nested scrolling panel, or the site may use a load-more button. Try scrolling over the comments themselves and look for a site-provided load control.
The print preview omits comments that were visible on screen. The website’s print layout may hide or rearrange interactive content. Check whether the preview changes after the content finishes loading. Try a full-page capture extension as a fallback, then verify its output.
Text is cut off or difficult to read. The print layout, margins, or page breaks do not suit the page. Review available print settings such as margins and page range. If the layout remains unusable, try a visual capture route.
The PDF ends before the last intended comment. The page may not have reached the end of the intended range, or print pagination may have excluded pages. Compare the saved file with the last comment you noted. Load farther if needed and check the page range in the print dialog.
Headless Chrome saves a PDF without the full thread. Printing does not itself trigger all infinite-scroll loading; the timeout is not an auto-scroll instruction. Use a browser-first workflow or implement authorized, site-specific scrolling and loading handling before printing.

Performance, reliability, and privacy considerations

  • Large threads take longer: loading many comments can use more memory and make the tab slower. Work in stages and save only the range you need.
  • Wait for each batch: scrolling faster than the site can load may leave gaps. Pause when new comments are still appearing.
  • Expect site differences: results depend on the page implementation, browser, device, and login state. No specific Hindi website’s behavior is established here.
  • Check sensitive content: a saved PDF is a separate copy. Store and share it according to the site’s rules and the expectations of the people whose comments it contains.
  • Use the ordinary interface: do not use this process to bypass access controls or copy comments you are not allowed to access.

Or skip the browser setup

ScreenshotNeo is a website screenshot API and MCP server. A single request can return an image or PDF, but an infinite-scroll page still needs the comments to be available to the capture. The API call below does not itself scroll the page to load more comments. For API options and setup, see the ScreenshotNeo documentation.

Example cURL request (replace the example URL and API key):

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com/discussion -o shot.webp

Equivalent Python request:

import requests

r = requests.get(
    "https://api.screenshotneo.com/v1/shot",
    params={"access_key": "YOUR_API_KEY", "url": "https://example.com/discussion"},
    timeout=90,
)
open("shot.webp", "wb").write(r.content)

Equivalent Node.js request:

const q = new URLSearchParams({
  access_key: 'YOUR_API_KEY',
  url: 'https://example.com/discussion'
});
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);

ScreenshotNeo removes cookie banners, popups, and chat widgets before the shot. Bot checks, blank pages, and failed loads are never billed. Its MCP server lets AI agents take screenshots. The free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000. These features do not guarantee that an infinite-scroll thread has loaded: confirm the capture includes the comments you need.

Sign up for 1,000 free screenshots a month, with no card required.

FAQ

Will printing save comments that have not loaded yet?

Do not count on it. Load the intended comments first, then inspect the preview and PDF.

Can I save only part of a long discussion?

Load the desired range and use the print dialog’s page range if the preview separates it cleanly. Check the first and last comments in the saved file.

Will this work on a phone?

Mobile print and PDF options vary by browser and operating system. The steps above describe desktop browser workflows; check your device’s print or share options and verify the resulting file.

Does a saved PDF prove that every comment was captured?

No. The file can save normally while still omitting unloaded or unprintable content. Inspect the beginning, middle, and end.