in reply to Mechanize with AJAX

You can use Selenium.