Questions tagged [rselenium]

The goal of RSelenium is to make it easy to connect to a Selenium Server/ Remote Selenium Server from within R. RSelenium provides R bindings for the Selenium Webdriver API. Selenium is a project focused on automating web browsers. RSelenium allows you to carry out unit testing and regression testing on your webapps and webpages across a range of browser/OS combinations.

The goal of RSelenium is to make it easy to connect to a Selenium Server/ Remote Selenium Server from within R. RSelenium provides R bindings for the Selenium Webdriver API.

Selenium is a project focused on automating web browsers. See http://docs.seleniumhq.org/

RSelenium allows you to carry out unit testing and regression testing on your webapps and webpages across a range of browser/OS combinations. This allows us to integrate from within R testing and manipulation of popular projects such as shiny, sauceLabs.

Selenium Server is a standalone java program which allows you to run HTML test suites in a range of different browsers, plus extra options like reporting.

See vignette for more details- http://cran.r-project.org/web/packages/RSelenium/vignettes/RSelenium-basics.html

944 questions
0
votes
1 answer

Is there an R package to access the google places API?

I'm currently using Rselenium to input doctors' names into Google Maps, and then collect the addresses associated with those names. For example, if I input "Susan Marra" my current program would return "11782 Sand Point Way NE, Seattle, WA 98125",…
RyGuy
  • 305
  • 4
  • 12
0
votes
1 answer

Scrape Products Information from a Ecommerce Page

Need to Scrape Product Information from a Ecommerce Page. But page has infinite scrolling. Currently I am able to scrape only products shown without scrolling down. Below is the code for…
0
votes
1 answer

For loop does not go over all iterations while used along RSelenium

Hello on this webpage http://www.uefa.com/uefachampionsleague/season=2016/statistics/round=2000634/players/index.html I am trying using RSelenium click all of players names which are links, scrape individual players webpages go back and continue…
Tomas H
  • 713
  • 4
  • 10
0
votes
1 answer

RSelenium: loop over all values in dropboxes

I am trying to scrape for each country its table with all HIV/AIDS related NGOs using this link: https://www.unodc.org/ngo/showExtendedSearch.do I am able to navigate towards the url and select the 'HIV/AIDS' radio button. But now I also need to…
user3387899
  • 601
  • 5
  • 18
0
votes
0 answers

How does Sys.which() find executable? PhantomJS

I am having trouble with PhantomJS and I have managed to whittle it down to Sys.which(). Searching for PhantomJS using Sys.which("phantom") does not return any results. However,when I check my PATH I get: > Sys.getenv("PATH") [1] "C:\\Program…
0
votes
1 answer

RSelenium unknown error when clickElement() function is called

I want to scrape holidayiq.com hotel review data, for example hotel review link, using R package 'Rvest'. 'RSelenium' is used for clicking on the "Next >" link, to visit further pages. Whenever I use the code nxtButton =…
0
votes
0 answers

error when installing package using 'devtools' in R

I try to install the package RSelenium: devtools::install_github("ropensci/RSelenium") This gives me following error: Downloading GitHub repo ropensci/RSelenium@master from URL…
user3387899
  • 601
  • 5
  • 18
0
votes
2 answers

How to scrape text using RSelenium in R?

I would like to scrape the text "VIRGINIA TECH" from the site http://stats.statbroadcast.com/statmonitr/?id=102197 using the package RSelenium. the css selector for the particular text I would like to scrape is: .valigntop:nth-child(1)…
Dre
  • 713
  • 1
  • 8
  • 27
0
votes
2 answers

blank value captures while scraping using Rselenium

I am trying to scrape a textbox value from the URL in the code. I picked the css using slector gadget. It is not able to capture the content in the text box. Tested several other CSS toobut the textbox value is not captured. Text box is :…
Apoorv
  • 177
  • 1
  • 3
  • 15
0
votes
1 answer

set value of readonly field with RSelenium

I'm using R and RSelenium to get some data from a website, for which I have to fill in a form first. One of the elements I have to define in the form is a date. The box containing the date has the following html code:
PavoDive
  • 6,322
  • 2
  • 29
  • 55
0
votes
1 answer

Checking if element is present in the webpage - RSelenium

I am using my RSelenium to iteratively collect data from web. Example structure of my code `for (i in 1:100) { re$findElement(using='css', 'some id')$getElementText() }` But when an element is not found in the webpage, it throws an error called…
Bharath
  • 1,600
  • 14
  • 25
0
votes
0 answers

Loop stops after 5 iterations using Rselenium

I have webscraped the URLs corresponding to different tables from a webpage (using RSelenium). These URLs I stored in an object called 'URL'. Now I want in a next step to write away each of the table in text format to the directory I specified in…
user3387899
  • 601
  • 5
  • 18
0
votes
1 answer

Scroll down button in Selenium

Is there any easy / automated way to scroll down in a page using RSelenium? I use a delay in a page in which I should scroll down to see the content. remDr$navigate("http://www.pageyouprefer.com/") Sys.sleep(35)
Berbery
  • 297
  • 2
  • 4
  • 12
0
votes
0 answers

Using JQuery code in RSelenium

Question: Is it possible to use commands of JQuery in RSelenium? I try to use a JQuery command in RSelenium: er <- remDr$executeScript('$('li.info-item div.body h3.name a[href*="infor"]');') but I stack in this error: Error: unexpected symbol in…
Berbery
  • 297
  • 2
  • 4
  • 12
0
votes
1 answer

RSelenium ZipException Error

I am trying to make use of RSelenium, but am running into the following error when trying to launch the remote driver. Any suggestions on what I need to fix would be highly…
JSB
  • 351
  • 2
  • 24