Connect to browser for WebDev so LLMs can see the rendered code

Not sure if this exists yet - but is there a way for us to connect cursor to our browser tab, so that the LLM can see what the code renders like. A lot of the times the rendered UI just looks wrong while the code’s syntax is correct, and I’d screenshot it myself and ask it to fix it, or fix it myself. If it can get a screenshot while it self-loops in agent mode, that’d be great