title: How to set Electron size in Nightmare.js?
body: <p>The <a href="https://github.com/segmentio/nightmare" rel="noreferrer">Nightmare</a> docs don't specify how to set the <a href="https://github.com/electron/electron/blob/master/docs/api/browser-window.md#new-browserwindowoptions" rel="noreferrer">browser</a> details.</p>
  
  <p>I'm guessing it's like this, but it doesn't work. Any ideas?</p>
  
  <pre><code>const nightmare = new Nightmare({'show': show, 'BrowserWindow': {height: 900}});
  </code></pre>