Selenium WebDriver controls the browser with built-in support. Selenium RC inserts JavaScript functions into the browser while the page is loading.