title: How do I use Mechanize to process JavaScript?
body: <p>I'm connecting to a web site, logging in.</p>
  
  <p>The website redirects me to new pages and Mechanize deals with all cookie and redirection jobs, but, I can't get the last page. I used Firebug and did same job again and saw that there are two more pages I had to pass with Mechanize. </p>
  
  <p>I took a quick look at the pages and saw that there is some JavaScript and HTML code but couldn't understand it because it doesn't look like normal page code. What are those pages for? How they can redirect to other pages? What should I do to pass these?</p>