How are iframes handled?


“How does Warhol handle iframes?”

Warhol works with same-origin iframes only. The details of what happens with the iframe are different for pattern libraries and production web pages. When analyzing a pattern library, Warhol opens each iframe page in a new browser window, resizes it to all breakpoints and takes snapshots just like it does with any other page in the pattern library. When testing, Warhol treats the iframe as almost transparent - it reports errors in the iframe just like errors in the top-level frame.

Join our Slack Community

Any question not answered yet? You want to get the latest information on Warhol and discuss new features? Join our Slack Community.