title: Node.js open chrome in full screen
body: <p>I have to open google chrome to a specific page after the server, written in Node.js, is ready.
  To do this I've used this code:</p>
  
  <pre><code>var open = require("../lib/node_modules/open");
  open("localhost:4000", "chrome");
  </code></pre>
  
  <p>I know that exist the kiosk mode but </p>
  
  <pre><code>open("localhost:4000", "chrome --kiosk");
  </code></pre>
  
  <p>doesn't work.</p>
  
  <p>How can I launch chrome in full screen from the Node.js server?</p>
  
  <hr>
  
  <p><strong>SOLUTION</strong></p>
  
  <p>Close all other instances of chrome and use</p>
  
  <pre><code>var childProcess = require('child_process'); 
  childProcess.exec('start chrome --kiosk localhost:4000');
  </code></pre>