Change to mobile/tablet/desktop in @browser

Hey, thanks for the request. This is a great idea to improve the agent browser.

A similar request was discussed here: Add a “Device View Toggle” Like Chrome’s DevTools to the cursor browser

The team is aware of this need. The ability to resize the viewport for the browser is already in the development backlog.

For now, you can:

  • Use an external browser with Chrome DevTools to test different resolutions
  • Ask the agent to resize the browser window manually by testing CSS media queries
  • Use the standard responsive design testing tools in Chrome or Firefox

Automatic switching between resolutions with screenshots is a really useful feature for testing. I’ll share your feedback with the team.