RSelenium may be one of the least known of R’s most helpful packages. Why is it useful? Just a few lines of code will drive a Web browser for tasks that might otherwise need tedious manual pointing and clicking. That’s handy both for testing Web applications and for collecting data from multiple Web pages.
If you’re already somewhat familiar with this package, you can scroll down to see a reference chart of various tasks and RSelenium code to accomplish them. If not, read on for a beginner’s guide to RSelenium. RSelenium is an R interface to the Selenium 2.0 WebDriver project designed for automated testing of Web applications (there are bindings for a number of languages besides R if you prefer another platform such as Java or Python).
Author: Sharon Machlis