title: Execute arbitrary JS programmatically on a page
body: <p>I want to programmatically open a web page, execute some JS to fill out and submit a form, then examine the result. What is the best way to do this from Java?</p>