Is there a good test suite or tool set that can automate website navigation — with Javascript support — and collect the HTML from the pages?
Of course I can scrape straight HTML with BeautifulSoup. But this does me no good for sites that require Javascript. 🙂
You could use Selenium or Watir to drive a real browser.
Ther are also some JavaScript-based headless browsers:
Personally, I’m most familiar with Selenium, which has support for writing automation scripts in a good number of languagues and has more mature tooling, such as the excellent Selenium IDE extension for Firefox, which can be used to write and run testcases, and can export test scripts to many languages.