Articles

How to drive a Web browser with R (and RSelenium)

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).

Source: computerworld.com
Author: Sharon Machlis

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s