Category : rselenium

I am new with Rselenium and have realized there is a lot of help about problems with selenium in python or java but not in R. I am trying to download excel files from this web: http://app.ceplan.gob.pe/ConsultaCEPLAN/Reporte/Maestro/rptMaestroObjetivo.aspx?pAnoEje=2022&pTipoGobierno=E&pSector=10&pPliego=510 I am using dockers and I got this chunck of code: shell(‘docker run -d -p 4444:4444 -v /dev/shm:/dev/shm ..

Read more

We are attempting to web scrape a website whose contents are behind a login. Because of this, we are trying to use RSelenium rather than rvest. However, we cannot get anywhere with RSelenium at the moment. rD <- rsDriver(browser = "chrome", verbose = TRUE) prompts and when we click "More Info, it brings us to ..

Read more

I receive the following error: Error in checkError(res) : Undefined error in httr call. httr output: Timeout was reached: [192.168.99.100:4445] Connection timed out after 10002 milliseconds After running this code using RSelenium to bind R to the virtual OS: library(RSelenium) eCaps <- list(chromeOptions = list(prefs = list("profile.default_content_settings.popups" = 0L, "download.prompt_for_download" = FALSE, "download.default_directory" = "home/seluser/Downloads"))) ..

Read more

I have been following the Docker/RSelenium tutorial here: https://docs.ropensci.org/RSelenium/articles/docker.html I have successfully hosted my own Selenium server: # sudo docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 0c673ba37477 selenium/standalone-chrome:88.0 "/opt/bin/entry_poin…" 3 minutes ago Up 3 minutes 5900/tcp, 0.0.0.0:4445->4444/tcp zealous_shannon When I run the following commands, per the tutorial: library(RSelenium) remDr <- remoteDriver(port = ..

Read more

I’m totally new to Selenium and RSelenium. I installed Docker and made it run a Selenium image, but I’m stuck at connecting to it through RSelenium package. I’ve tried passing many different arguments to remoteDriver(), but whenever I try to $open() the driver, I get the following error: remDr<-remoteDriver([IP], 4444, "chrome") remDr$open() [1] "Connecting to ..

Read more