[R] problem with RSelenium....

akshay kulkarni @k@h@y_e4 @end|ng |rom hotm@||@com
Sat Dec 18 13:02:20 CET 2021


dear members,
                         I am using RSelenium. I have downloaded the java binary standalone server. I am running it in my windows powershell with the following command:      java -jar selenium-server-standalone-4.0.0-alpha-2.jar
(note that the command doesn't get finished in the powershell ( the prompt doesn't return to C"\Users\Administrator\Downloads after running the command)).

Then I run the following in R console:
 > remDr <- remoteDriver(remoteServerAddr = "localhost", port = 4444L, browserName = "chrome")

and then the following:
> remDr$open

It gives me the following error:

[1] "Connecting to remote server"

Selenium message:Unable to create new service: ChromeDriverService
Build info: version: '4.0.0-alpha-2', revision: 'f148142cf8', time: '2019-07-01T21:30:10'
System info: host: 'EC2AMAZ-1JRGETJ', ip: '172.31.9.48', os.name: 'Windows Server 2016', os.arch: 'amd64', os.version: '10.0', java.version: '17.0.1'
Driver info: driver.version: unknown

Error:   Summary: SessionNotCreatedException
         Detail: A new session could not be created.
         Further Details: run errorDetails method

Please note that I'm fine with using rsDriver. What's going on? (I'm using remoteDriver instaed of rsDriver because it should not give the "port already in use" error.

Thanking you,
Yours sincerely,
AKSHAY M KULKARNI

	[[alternative HTML version deleted]]



More information about the R-help mailing list