1

I am trying to run this code:

client_server <- RSelenium::rsDriver(browser=c("chrome"), 
                                 chromever="latest", 
                                 port=4444L, 
                                 verbose=F)

But, I get this Error:

Selenium message:Timed out waiting for driver server to start.
Build info: version: '4.0.0-alpha-2', revision: 'f148142cf8', time: '2019-07-01T21:30:10'
System info: host: 'XXX.local', ip: 'XXX', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.16', java.version: '1.8.0_31'
Driver info: driver.version: unknown

Could not open chrome browser.
Client error message:
     Summary: UnknownError
     Detail: An unknown server-side error occurred while processing the command.
     Further Details: run errorDetails method
Check server log for further details.

I am quite clueless what the solution is here. I tried different ports, that does not seem to solve the problem.

Ezra
  • 159
  • 1
  • 10
  • Try using `chromever = "94.0.4606.41"`. Update `RSelenium` and Chrome. – Nad Pat Nov 11 '21 at 16:43
  • Unfortunately this leads to ```Error in chrome_ver(chromecheck[["platform"]], chromever) : version requested doesnt match versions available = 94.0.4606.113,96.0.4664.35``` – Ezra Nov 11 '21 at 21:43

1 Answers1

1

This error message...

Selenium message:Timed out waiting for driver server to start.
Build info: version: '4.0.0-alpha-2', revision: 'f148142cf8', time: '2019-07-01T21:30:10'
System info: host: 'XXX.local', ip: 'XXX', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.16', java.version: '1.8.0_31'
Driver info: driver.version: unknown

...implies that the ChromeDriver server process/service didn't get started/initiated.

Your main issue is the incompatibility between the version of the binaries you are using.


Though you are using Selenium Build info: version: '4.0.0-alpha-2' but your java.version: '1.8.0_31' is old and ancient.

Solution

Ensure that JAVA / JDK is upgraded to current levels JDK 8u311.

undetected Selenium
  • 183,867
  • 41
  • 278
  • 352
  • Thank you. I updated Java / JDK. Still I get errors like: ```Could not open chrome browser. Client error message: Undefined error in httr call. httr output: Operation was aborted by an application callback Check server log for further details.``` – Ezra Nov 11 '21 at 21:40
  • Can you reboot your system and run the test? – undetected Selenium Nov 11 '21 at 21:41
  • ```client_server <- RSelenium::rsDriver(browser=c("chrome"), chromever="94.0.4606.113", port=4444L, verbose=F)``` was the code – Ezra Nov 11 '21 at 21:42
  • Why not `chromever="95.0.4638.69"`? – undetected Selenium Nov 11 '21 at 21:58
  • Because this lead to this error: ```version requested doesnt match versions available = 94.0.4606.113,96.0.4664.35``` although I updated everything – Ezra Nov 12 '21 at 08:38