title: How to close the Chrome browser automatically after a certain condition?
body: <p>I wrote a Web Extension which starts surfing specified websites automatically after the Chrome browser is opened.</p>
  
  <p>As far as i know Javascript doesn't allow closing the Chrome browser easily.</p>
  
  <p><strong>(window.open => window.close didn't work for me.)</strong></p>
  
  <p>My cronjob will start/open Chrome at certain times and allow the Web Extension to work.</p>
  
  <p>I guess that after some time too many Chrome browsers will be open, so i would like to close them.</p>
  
  <p>Either after the website surfing is complete (there is a certain condition) or after like 30 minutes.</p>
  
  <p><strong>Are there any options?</strong></p>