You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Screenshot operation resets Device simulation mode (Mobile view) back to standard mode #280
Describe the bug
Screenshot operation resets Device simulation mode (Mobile view) back to Desktop. This is a blocker for mobile workflows, as you have to manually set Device simulation back to Mobile after each prompt that involves screenshots.
To Reproduce
Steps to reproduce the behavior:
Open page, toggle Device simulation mode, select any dimension preset (e.g. Iphone 14 Pro Max)
Run a prompt that involves taking a snapshot
Expected behavior
Selected device mode stays (Iphone 14 Pro Max in this example)
Actual behavior
Page layout is reset to regular Desktop mode
(Even though device mode still shows Iphone 14 Pro Max)
changed the title [-]Screenshot operation resets Device simulation mode (Mobile view) into Desktop[/-][+]Screenshot operation resets Device simulation mode (Mobile view) back to standard mode[/+]on Oct 4, 2025
You can instead let the LLM change the device emulation mode for you (which will stick), but you're right it'd be great if the MCP server does not change any existing emulation modes. @OrKoN would that be possible?
We currently do not support device emulation via the MCP server. I think it would work better once the emulation is done via the same CDP session (i.e., via the MCP server). There could be other workaround but basically the issue is on the Chrome/CDP side.
Activity
[-]Screenshot operation resets Device simulation mode (Mobile view) into Desktop[/-][+]Screenshot operation resets Device simulation mode (Mobile view) back to standard mode[/+]sebastianbenz commentedon Oct 6, 2025
You can instead let the LLM change the device emulation mode for you (which will stick), but you're right it'd be great if the MCP server does not change any existing emulation modes. @OrKoN would that be possible?
OrKoN commentedon Oct 7, 2025
We currently do not support device emulation via the MCP server. I think it would work better once the emulation is done via the same CDP session (i.e., via the MCP server). There could be other workaround but basically the issue is on the Chrome/CDP side.
feat: support device viewport and user agent emulation (#798)
feat: support device viewport and user agent emulation (#798)