title: How can I run a html file from terminal?
body: <p>I have a html file that titled <code>test.html</code> this is the file:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;body onload="document.getElementById('saveForm').click();"&gt;
  &lt;form method="post" enctype="multipart-form-data" name="my_form" onsubmit="clearTextBoxCounter()" action="http://xxxxx" &gt;
  
    &lt;input type=hidden name=teks value=&gt;&lt;center&gt;&lt;b&gt;KIRIM SMS GRATIS&lt;/b&gt;&lt;/center&gt;&lt;br&gt;&lt;br&gt;
  Nomer HP:&lt;br /&gt;
    &lt;input class="field text small" type="text" maxlength="20" name="Phonenumbers" value="085642383165"/&gt;
    &lt;br /&gt;
  
  &lt;br /&gt;
  Isi Pesan:&lt;br /&gt;
    &lt;textarea rows="5" cols="20" onKeyPress=check_length(this.form); onKeyDown=check_length(this.form); name=Text &gt;testing pesan 2&lt;/textarea&gt;
  &lt;br /&gt;
  
  &lt;input id="saveForm" class="btTxt" type="submit" value="KIRIM" name="TOMBOL" /&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>as you can see when the file is loaded it automatically clicks the submit button, and redirects it to <code>http://xxxxxx</code> how can I run this html file from terminal? I'm using this on openwrt with webserver installed on it.</p>