<p>What's the best, crossplatform way to perform blackbox tests on AJAX web applications?</p>

<p>Ideally, the solution should have the following attributes:</p>

<ul>
<li>Able to integrate into a continuous integration build loop</li>
<li>Cross platform so I you can run it on Windows laptops and Linux continuous integration servers</li>
<li>Easy way to script the interactions</li>
<li>Free-as-in-freedom so you can adapt it into your tool chain if necessary</li>
</ul>

<p>I've looked into HttpUnit but I'm not conviced it can handle AJAX-heavy websites.</p>

[{'answer_id': 70580, 'author': 'Sietse', 'author_id': 6400, 'author_profile': 'https://Stackoverflow.com/users/6400', 'pm_score': 4, 'selected': True, 'text': '<p>Selenium might be what you\'re looking for: <a href="http://selenium.openqa.org/" rel="noreferrer">http://selenium.openqa.org/</a></p>\n\n<p>It allows you to script actions and evaluate the results. It\'s open-source (Apache 2.0), cross platform, and has nice tools.</p>\n'}, {'answer_id': 72052, 'author': 'awi', 'author_id': 1835074, 'author_profile': 'https://Stackoverflow.com/users/1835074', 'pm_score': 2, 'selected': False, 'text': '<p>I have used Selenium for exactly this task, but found it to be brittle.</p>\n\n<p>Check out this talk by two Googlers: <a href="http://video.google.com/videoplay?docid=4378663232897374824" rel="nofollow noreferrer">Does my button look big in this? Building testable AJAX applications</a></p>\n\n<p>They isolate the testable javascript (non DOM-interaction) and test that using the Rhino javascript engine.</p>\n'}]
['https://Stackoverflow.com/questions/70554', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2846/']