title: Java SE: Open Web Page and Click a Button
body: <p><br>
  I have a Java 7 program (using WebStart technology, for Windows 7/8 computers only).</p>
  
  <p>I need to add a function so that my program clicks a button on a page with known URL (https).</p>
  
  <p>Some people suggest WebKit SWT, but I went to their site and they say that the project was discontinued. (<a href="http://www.genuitec.com/about/labs.html" rel="noreferrer">http://www.genuitec.com/about/labs.html</a>)</p>
  
  <p>Other people say that JxBrowser is the only option but it looks like it's over $1,300 which is crazy. (<a href="http://www.teamdev.com/jxbrowser/onlinedemo/" rel="noreferrer">http://www.teamdev.com/jxbrowser/onlinedemo/</a>)</p>
  
  <p>I'm looking for something simple, free, lightweight, and able to open HTTPS link, parse HTML, access a button through DOM and click it. Perhaps some JavaScript too, in case there are JS handlers.</p>
  
  <p>Thanks for your help.</p>