logo
featureweb-scraping-api

Inline iframe content with the showFrames parameter

A new parameter renders iframe content directly into the returned page so cross-origin frames stop dropping out of scrapes.

showFrames=true makes the headless browser render every iframe on the page and inline its serialized DOM into the returned HTML.

When you need it

Plenty of sites push critical content behind a cross-origin iframe — Scrape.do's default headless rendering returns the parent page's HTML, which omits the frame body. Common cases:

  • Embedded product detail panels on retail sites
  • Third-party payment widgets when you need the final pricing surface
  • Embedded forms and dashboards that mount client-side
  • Embedded video players when you need the underlying source URL or metadata
  • Cross-origin reviews / Q&A modules that proxy through a partner

Usage

https://api.scrape.do
  ?token=YOUR_TOKEN
  &url=TARGET_URL
  &render=true
  &showFrames=true

showFrames requires render=true (you need a real browser to enumerate frames). It composes with all the other render-time options — super, geoCode, device, playWithBrowser.

See the headless browser documentation for the full parameter list.

On this page