Headless
Headless browser control
Currently only Firefox and Google Chrome browser can be run headless.
For the rest of the supported browsers this flag is ignored.
To control headless via command line:
npm run kakunin -- --headless
opens browser in headless modenpm run kakunin -- --headless=true
opens browser in headless modenpm run kakunin -- --headless=false
opens browser in normal mode
Also, there is a possibility to set "headless: "true"
or "headless: "false"
in the kakunin.conf.js
config file.
Keep in mind that CLI has greater prority than the cofig file (overides settings on runtime).