--emulate-touch-points
- CLI
- --emulate-touch-points
Sets navigator.maxTouchPoints and enables touch events. Takes 1 to 16.
Example
zshot -f page.png \
--emulate-touch-points 5 \
https://zshot-cli.com/example_assets/hello_zshot/{
"url": "https://zshot-cli.com/example_assets/hello_zshot/",
"output_type": "png",
"emulate_touch_points": 5
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/hello_zshot/","output_type":"png","emulate_touch_points":5}' \
-o page.png