--javascript-file
- CLI
- --javascript-file
- REST
- CLI only
Runs the JavaScript in this file, as --javascript does.
Example
CLI
Run locally
zshot -f page.png \
--javascript-file inject.js \
https://zshot-cli.com/example_assets/hello_zshot/Runs the JavaScript in this file, as --javascript does.
zshot -f page.png \
--javascript-file inject.js \
https://zshot-cli.com/example_assets/hello_zshot/