Mechanize extends the power of Nokogiri allowing you to interact with multiple pages on the site: click links, submit forms, etc.

Read more at the source