When using the in-built browser, you cannot select elements of a web-page if they are using iframe - you can highlight them, but clicking on the mouse does not add them as context into the agentic chat interface.
Steps to Reproduce
Visit this page inside cursor’s browser and try selecting the iframe element:
Expected Behavior
It should add the context of that element into the agent chat.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Hey, thanks for the report. This is a known limitation with the browser’s “select element” feature that the team is actively working on. The iframe-specific issue you mentioned adds valuable detail to what we’re tracking.
As a workaround, you can use Google Chrome (external browser) instead of the embedded Browser Tab when invoking the browser tool with Agent. While you won’t have the click-to-select UI, the agent can still interact with the page and extract information, including iframe content.
I’ve noted your specific iframe case for the team.