Browser
This form will load the Google homepage, enter the search query, submit, and follow the first link in the results.
It does this with the connection_browser helper, an object that emulates a basic browser - where it remembers cookies set, follows links, submits forms, and returns the HTML or specific elements. It does not attempt anything like CSS rendering or JavaScript.