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
0 answers

How to force UTF-8 encoding when extracting a link using RSelenium?

I'm using RSelenium to run a RemoteDriver on my system. I need to extract a link from a page, and read that link with UTF-8 encoding (so that I can convert it to the encoding I need). This is what I'm doing right now - url <-…
0
votes
1 answer

I cant use R selenium at all in a specific page

It get stuck when Rselenium meets this URL, it will be all right if I change to some other webpage.as you can see the below code "getCurrentUrl"& "getPageSource" are the most basical operation. url =…
0
votes
0 answers

I'm trying to scrape a website with infinite scrolling

This I have tried in R, but I was unable to do it for infinite scrolling, This is the reference link to get some idea about infinite scrolling using Selenium package in Pyhton. I'm quite noob in Python coding but still tried some editing from the…
Andre_k
  • 1,680
  • 3
  • 18
  • 41
0
votes
1 answer

Rselenium Jsonlite scraping

I am new at Scraping. I am trying to scrape the table that appears in a site and transform into a dataframe but it seems that I have to execute a Script. I am using Rselenium approach. Probably Jsonlite works better, but I don´t know how. # Running…
Ushuaia81
  • 495
  • 1
  • 6
  • 14
0
votes
1 answer

RSelenium doesn't open web page

I am working with RSelenium to access a JSON web page. I already configure my machine to open Google Chrome but I have problems to navigate my web page. My code is the following: > require(RSelenium) Loading required package: RSelenium > remDr <-…
fcochaux
  • 135
  • 1
  • 13
0
votes
1 answer

Rselenium issue: browser opens and closes with an error

There is some issue with RSelenium. It shows the below error rD <- rsDriver(port=4444L,browser="chrome") remDr <- rD$client The browser opens and closes with error Selenium message:unknown error: unable to discover open pages (Driver info:…
kishore
  • 187
  • 4
  • 14
0
votes
2 answers

Extract last substring between square brackets

I've a column of data from which I need to extract a alphnumeric string/factor example Column x [ghjg6] [fdg5] [113gi4lki] great work [xzswedc: acf] [xzt8] [111eerrh5] [asd2] [1] [113vu17hg 115er5lgr 112cgnmbh ] get out I want to get the data in…
kishore
  • 187
  • 4
  • 14
0
votes
0 answers

error with RSelenium

after a lot with struggle to get the docker running correctly, i have the following error when trying to use RSelenium: Selenium message:The path to the driver executable must be set by the webdriver.gecko.driver system property; for more…
0
votes
0 answers

how to check RSelenium navigate function returned proper page

I've found some inconstistency in the RSelenium navigation function. Namely, I've started just the server this way: rS <- rsDriver(browser = "phantomjs", port = 4567L, check = T) rDr <- rS[['client']] rDr$navigate(yahoo) doc <-…
Peter.k
  • 1,475
  • 23
  • 40
0
votes
1 answer

scraping web-table using selenium in R

I'm trying to scraping league-standing in here. so i use selenium server using code like this url <-…
Bacat
  • 1
0
votes
0 answers

Is there a way to run curl in RSelenium browser?

I need to scrape a website with dynamic data loading (i.e. "read more") capabilities and content reachable only by curl parsing. Is it possible to render the website with RSelenium (or a similar package) then parse with curl package instead of…
berkorbay
  • 443
  • 7
  • 22
0
votes
1 answer

Download html through a password portal

I would like to download HTML webpages from www.geocaching.com in order to scrape some information. However the webpages I want to download have two ways of being displayed depending on whether the user is logged in. The information I want to scrape…
John L. Godlee
  • 559
  • 5
  • 21
0
votes
0 answers

download a file using selenium

I have a website that is downloading a file when I press a link. The source code of the link is: Download Comma…
RockScience
  • 17,932
  • 26
  • 89
  • 125
0
votes
0 answers

RSelenium: How to scrape data from Pro Football Reference.com?

I'm working with one of my students to help him scrape data from the "Full Play-By-Play" table provided in game box scores by Pro Football Reference.com. (He's a Sports Studies major, so this is more than just having fun for him.) As the box scores…
0
votes
1 answer

Having trouble connecting RSelenium to Server

I've been learning R programming for the last few months and really enjoying the language. I wanted to start using it to automate a few things at work. However for the life of me no matter how much I Google or experiment I can't seem to start the…
Shahnur Islam
  • 57
  • 1
  • 10