Add device-mode emulation (rodney emulate) #1
Loading…
Reference in a new issue
No description provided.
Delete branch "device-emulation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
rodneycould only narrow the viewport, so hover-only CSS and UA sniffing still took the desktop path. This adds real DevTools device mode.Changes
rodney emulate <device>sets Chrome device mode via rod'sdevicespackage — metrics, touch, and User-Agent together.emulateprints the current device,emulate clearrestores desktop,-lrotates. 38 devices.screenshothonours an active emulation instead of forcing 1280x720; explicit-w/-hstill overrides.Mock PR for review before upstreaming to
simonw/rodney.🤖 Posted by Claude