# seleniumPipes **Repository Path**: heavenzone/seleniumPipes ## Basic Information - **Project Name**: seleniumPipes - **Description**: fork https://github.com/johndharrison/seleniumPipes - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-07-18 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README seleniumPipes ========================== | CRAN version | Travis build status | SauceTests | Coverage | | :-------------: |:-------------:|:-------------:|:-------------:| | [](https://CRAN.R-project.org/package=seleniumPipes) | [](https://travis-ci.org/johndharrison/seleniumPipes) | [](https://saucelabs.com/u/seleniumPipes) | [](https://codecov.io/gh/johndharrison/seleniumPipes)| #### Selenium test status [](https://saucelabs.com/u/seleniumPipes) ##### *A lightweight implementation of w3c webdriver specification* ### Introduction seleniumPipes is a lightweight implementation of the [w3c webdriver specification](https://w3c.github.io/webdriver/webdriver-spec.html). It has been built utilising `xml2`, `httr` and `magrittr` so provides an alternative for users who are familiar with piping. ### Install To install seleniumPipes from CRAN ``` install.packages("seleniumPipes") ``` To install the current developement version of seleniumPipes run: ``` devtools::install_github("johndharrison/seleniumPipes") ``` ### Getting started The easiest way to start is to look at the Basic operations vignette: * [seleniumpipes: Basic Operation](http://rpubs.com/johndharrison/seleniumPipes-basic) Failing this a few basic examples are presented below: Get started using `seleniumPipes` you can look at the following example ``` library(seleniumPipes) library(RSelenium) # start a server with utility function selServ <- RSelenium::startServer() remDr <- remoteDr() remDr %>% go(url = "http://www.google.com") remDr %>% go(url = "http://www.bbc.com") remDr %>% back() remDr %>% forward() remDr %>% refresh() remDr %>% go("https://cloud.r-project.org/") %>% getPageSource() # {xml_document} # # [1]
\n