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

RSelenium not recognising element

I'm trying to scrape all the providers from this page: https://www.agedcareguide.com.au/nursing-homes/providers/vic I'm using RSelenium on my Mac by running the following code in Terminal with Docker: docker run -d -p 4445:4444…
0
votes
0 answers

Using RSelenium on tripadvisor to pass dates and get price list

I am using RSelenium on tripadvisor to get some information (like price) but i'm stuck on how to pass dates. Below is what I have tried. Could some one help me out here. thanks in advance!! chrome$navigate("https://www.tripadvisor.in/") a…
Pradeep
  • 3
  • 4
0
votes
1 answer

Unable To Fill Form Using RSelenium, Unable To Locate Element

I am trying to fill in a login form. Here is the code to reproduce the error: library(RSelenium) require(XML) RSelenium::startServer() remDr <<- remoteDriver() remDr$open() appURL <-…
mks212
  • 901
  • 1
  • 18
  • 40
0
votes
0 answers

RSelenium-docker; navigation,checkstatus not working

I am new to R. I require using RSelenium for web scraping for my assignment. I am using ubuntu 16.04 and I am trying RSelenium in combination with docker. I am behind a corporate proxy succesfully changed the proxy in docker via adding environment…
0
votes
1 answer

Character in a string formation

I use Rselenium and I use javascript queries. The query in javascript is this: document.querySelectorAll('ul#test div.mytext')[1].innerText.split('\n').filter(x => x).join('???') When I try to run it in RSelenium code I use…
Pozmanski
  • 181
  • 11
0
votes
0 answers

Using RSelenium to web scrape Google Scholar

I'm trying to develop an academic network using information available from Google Scholar. Part of this involves scraping data from a pop-up window (not actually sure what kind of window it is - it doesn't seem to be a regular window or an iframe)…
0
votes
0 answers

Set up Selenium grid using Rselenium and Docker on one machine

Following Selenium Grid(https://github.com/SeleniumHQ/selenium/wiki/Grid2), I would like to run n browsers using RSelenium and Docker. I know how to start standalone chrome using docker. I have also found out how to use external cloud services…
Mislav
  • 1,533
  • 16
  • 37
0
votes
1 answer

Move to new pop-up window using Rselenium

I have following Rselenum code: library(RSelenium) remDr <- remoteDriver(remoteServerAddr = "192.168.99.100", port = 4445L, browserName = "chrome") remDr$open() # Simulate browser session and fill out…
Mislav
  • 1,533
  • 16
  • 37
0
votes
1 answer

Is it possible to get the text between the " " from an attribute

Can I get the text between " " using RSelenium? For example: The "12" from the day attribute or the "11" from the month…
0
votes
1 answer

How do I extract the links from this webpage (with R)?

Using R, I am trying to get the links that are present on the following webpage: https://icerbox.com/folder/eVDOgpD1/Goldmine.320 The page contains 135 links to files. When you hover the mouse over the filename, to the right a blue download symbol…
Peter Verbeet
  • 1,786
  • 2
  • 13
  • 29
0
votes
0 answers

How to get text data from Google map using Rselenium

I am trying to fetch the text data(eg. dealer type, dealer name) from google map URL. I have written following code for…
0
votes
1 answer

Rselenium scraping loop and list

I'm trying to use this code: require(RSelenium) checkForServer() startServer() remDr<-remoteDriver() remDr$open() appURL <- 'http://www.mtmis.excise-punjab.gov.pk' remDr$navigate(appURL) remDr$findElement("name",…
Janjua
  • 235
  • 2
  • 13
0
votes
1 answer

Getting RSelenium Error: "Failed to decode response from marionette"

I'm relatively new to R (and brand spanking new to scraping with R), so apologies in advance if I'm overlooking something obvious here! I've been trying to learn how to scrape with RSelenium by following this tutorial:…
jubjub
  • 107
  • 8
0
votes
0 answers

RSelenium: Uncollapse a Panel

I am attempting to use RSelenium to check a box that is hidden from view due to the collapse panel.
nics
  • 13
  • 5
0
votes
1 answer

How do I install RSelenium on raspberry pi 3 (raspbian)?

I'm trying to install the RSelenium package on my Raspberry Ri Rstudio-server but I get alot of error messages when I try to install the package, some of them are posted below. How do I solve this problem? /usr/lib/R/etc/Makeconf:141: recipe for…
Allan A
  • 427
  • 8
  • 17