safari_emulate
Test mobile responsiveness by emulating devices like iPhone 14 or iPad in Safari with adjusted viewport and user agent.
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 |
|---|---|---|---|
| scale | No | Initial scale (default: 1) | |
| width | No | Custom viewport width | |
| device | No | Device name: iphone-14, ipad, pixel-7, galaxy-s24, etc. | |
| height | No | Custom viewport height | |
| userAgent | No | Custom user agent string |