RSelenium
RSelenium copied to clipboard
Rselenium unable to send keys to element
library(RSelenium) remDr <- remoteDriver(browserName = "firefox") remDr$open() url <-"https://erp.iitkgp.ernet.in/" remDr$navigate(url)
htmlParse(remDr$getPageSource()[[1]]) webElems <- remDr$findElements("id","user_id") webElems[[1]]$sendKeysToElement("abc")
whenever i execute last line, it shows these error: Error: Summary: UnknownError Detail: An unknown server-side error occurred while processing the command. class: java.lang.ClassCastException
So, how can i send value to any element
I faced same issue. https://englianhu.wordpress.com/#jp-carousel-74
There is another issue which is RSelenium::startServer() when I tried to run on Linux.
- Error: Unable to access jarfile selenium-server-standalone.2.47.1jar
- /usr/bin/xvfb-run: line 171: kill: (32634) - No such process