safari_emulate
Emulate mobile devices in Safari by resizing the viewport and setting a user agent. Select from iPhone 14, iPad, Pixel 7, Galaxy S24, or define custom dimensions.
Instructions
Emulate a mobile device by resizing window and setting user agent. Devices: iphone-14, iphone-14-pro-max, ipad, ipad-pro, pixel-7, galaxy-s24. Or use custom width/height.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device name: iphone-14, ipad, pixel-7, galaxy-s24, etc. | |
| width | No | Custom viewport width | |
| height | No | Custom viewport height | |
| userAgent | No | Custom user agent string | |
| scale | No | Initial scale (default: 1) |