Learn R Programming

RSelenium (version 1.3.1)

RSelenium-package: RSelnium: An R client for Selenium Remote Webdriver

Description

These are R bindings for the WebDriver API in Selenium 2. They use the JsonWireProtocol defined at http://code.google.com/p/selenium/wiki/JsonWireProtocol to communicate with a Selenium RemoteWebDriver Server.

Arguments

Details

Package: RSelenium
Type: Package
Version: 1.0
Date: 2012-09-20
License: MIT
Depends: R (>= 2.15.0),methods,RCurl,RJSONIO

References

http://seleniumhq.org/projects/webdriver/

Examples

Run this code
# NOT RUN {
# run checkForServer() if you need the stand-alone Java binary
startServer()
remDr <- remoteDriver$new()
remDr$open()
remDr$navigate("http://www.google.com")
remDr$navigate("http://www.bbc.co.uk")
remDr$goBack()
remDr$goForward()
remDr$quit()
# }

Run the code above in your browser using DataLab