1

As the title says, I've got a script written using RSelenium to automate web navigation, using chrome as the browser. This script has worked fine for months now, but today when I tried to run it, I got the following message:

Selenium message:Unable to create new service: ChromeDriverService Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08- 02T20:13:22.693Z' System info: host: 'LAPTOP-22QM8890', ip: '192.168.133.65', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_171' Driver info: driver.version: unknown Could not open chrome browser. Client error message: Summary: SessionNotCreatedException Detail: A new session could not be created. Further Details: run errorDetails method Check server log for further details. 

I'm pretty sure that I have installed the latest versions of Chrome and ChromeDriver, but this has not changed anything. I'm at a loss as to what caused this error to spontaneously appear today.

1 Answer 1

4

If you are using windows, just go inside C:\Users\Jeff\AppData\Local\binman and delete all directories inside (for me 4 directories including seleniumserver and geckodriver). Then just open RStudio and run eg

library(RSelenium) rD <- rsDriver(browser = "chrome") remDr <- rD$client remDr$navigate("https://google.com") 

Good luck.

Sign up to request clarification or add additional context in comments.

2 Comments

Hello, I have the same pb. I deleted the directories, but it's not fixed. The error persists. Any other idea? Thank you.
The question is old, but maybe this helps someone: Go the the described directory and check which versions of the chrome webdriver are available (in my case its 95.0.4638.54). Then add this to the code in the following way: rD= rsDriver(browser="chrome",chromever = "95.0.4638.54")

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.