Back to feed
Dev.to
Dev.to
5/11/2026
How to tell if a page uses JavaScript rendering (and what to do about it)

How to tell if a page uses JavaScript rendering (and what to do about it)

Short summary

To detect JavaScript rendering, view raw page source and search for visible content. If text appears on screen but not in raw HTML, JavaScript is rendering the page—use a browser simulator or API approach. The article covers three rendering patterns and provides working Python code to detect them programmatically.

  • View page source test: search raw HTML for visible content to detect client-side rendering
  • Three rendering patterns: server-side (full HTML), client-side (JS bundle), and hybrid (partial content)
  • Python code example with requests/BeautifulSoup for programmatic detection via text ratio and framework signals

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Explore more