Reaching inside iframes

Hey, is it possible to reach for data inside an iframe when using {site}? When I retrieve the HTML, it only includes the iframe, not its content.

e.g. <iframe src="[removed for privacy]" allow="" referrerpolicy="origin-when-cross-origin" sandbox="allow-same-origin allow-scripts allow-forms allow-popups allow-storage-access-by-user-activation" class="iframe__StyledMainFrame-sc-31031960-0 bAghoG"></iframe>

1 Like

Hi, and welcome to the forum! :slight_smile:

If you use our built-in "Select from website" CSS selector builder it will create selectors that can reference elements within iframes:

image

Thanks for the info.

Is there a reason why the selector wouldn't highlight something in the IFrame when you try to select something inside the iframe?

When I use the selector, the highlighting appears on other parts of the page but not in the iframe. Clicking on elements in the iframe won't select them for the selector

Would you be able to share the page for us to take a look at?

If not, can you email support@blaze.today and we can set up a video call to look into this with you.

The iframe is a custom extension inside front app. I will reach out to the support email.

1 Like