This document discusses JavaScript testing using Selenium. It recommends using Selenium 2/WebDriver for JavaScript testing as it allows direct execution of JavaScript commands and assertions of results. The key aspects of JavaScript that should be tested are DOM manipulation, event handling, network calls, and JavaScript code/state. Client-side unit testing frameworks like QUnit can be used with Selenium to execute tests and assert results. Selenium 2 aims to provide a shared browser automation API that allows launching browsers quickly and navigating/executing tests across browsers and versions.