If the iframe element is in a fixed/deterministic position in the HTML heirarchy, you can build your XPath/CSS selector to suit that. For me personally, I’d use a combination of JS and CSS selectors. But if XPath is your thing, I can’t help.
Either way, post a screenshot of the HTML using the DevTools Inspector: