Rendering is a decision, not a default. A practical scraping workflow starts by checking the source HTML, then enables browser execution only when the useful public content is created after JavaScript runs or when the team needs visual proof through a screenshot or PDF.
ScraperFly gives teams a controlled path for that decision. Test the target, compare source and rendered output, choose the smallest useful response format, and add waits, screenshots, PDFs, sessions, headers, country routing, or premium delivery only when they improve the captured result.
Use rendering when JavaScript changes the response
Many modern public pages send a thin HTML shell first and build the useful DOM in the browser. Product grids, search results, maps, dashboards, reviews, and SPA routes may appear only after frontend JavaScript loads data and updates the page. In those cases, browser rendering can return a response that source HTML alone cannot provide.
Other pages do not need rendering at all. If the source response already contains the content, a basic HTML request is usually faster, cheaper, and easier to debug. The strongest rendering workflow is evidence-based: inspect the first response, prove what is missing, then enable browser execution for the targets that need it.
| Rendering decision | Use it when | Start with | Next control to test |
|---|---|---|---|
| Raw HTML is enough | The useful content is already in the initial response | HTML output without rendering | Parser logic, metadata, or response format |
| Rendered HTML is needed | The DOM is completed after browser-side JavaScript runs | Rendering with rendered HTML output | Wait timing if the content loads asynchronously |
| SPA capture is needed | React, Vue, Angular, Next.js, or another frontend route changes visible content | Rendering plus final URL and status inspection | Sessions, headers, or route-specific waits |
| Visual proof is needed | The workflow must show what the rendered page looked like | Screenshot or PDF output | Viewport, wait timing, download, or archive settings |
Rendered output still needs the right format
Rendering solves page execution, but it does not decide what the application should consume. A parser may need rendered HTML. An AI or RAG workflow may prefer clean text or Markdown. A monitoring system may need JSON metadata for status and diagnostics. A QA or compliance workflow may need screenshots or PDFs as evidence.
The practical path is to choose the output format before scaling the request. That keeps the pipeline focused on the asset the product actually needs instead of generating heavy files or raw markup that downstream systems must clean later.
Practical takeaway: render only when the page behavior proves it. Then return the rendered result in the format your application can use immediately.