--emulate-disable-bluetooth
- CLI
- --emulate-disable-bluetooth
Removes navigator.bluetooth and Bluetooth, BluetoothDevice and the other Bluetooth interfaces from the page and its workers, so the Web Bluetooth API is absent. Without this flag the API is present where the preset’s platform’s Chrome has it, and a device request ends as a user’s cancel does.
Example
zshot -f page.png \
--emulate-disable-bluetooth \
https://zshot-cli.com/example_assets/hello_zshot/{
"url": "https://zshot-cli.com/example_assets/hello_zshot/",
"output_type": "png",
"emulate_disable_bluetooth": true
}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_disable_bluetooth":true}' \
-o page.png