`Hi, I'm trying to open Rselenium with Chrome on my Windows 11 computer and laptop, but it's not working. I have already checked that Chromedriver is set to my version of Chrome (which I found on chrome://version/), and I'm using the function free_port() from the netstat library to make sure I'm connected to an available port (I have also tried changing ports manually).
I have already tried deleting the files from "C:\Users\Usuario\AppData\Local\binman" and flushing my DNS, but still no luck. This issue is happening on my laptop, computer, and a friend's laptop. However, as soon as we try it with Firefox, everything works well. If you could help, you would be a lifesaver.
I'm attaching the code and error message:
#=================================================================================================# `# code` pacman::p_load(tidyverse, RSelenium, netstat) # free port function rs_driver_object = rsDriver(browser = "chrome", chromever = "110.0.5481.30", verbose = FALSE, port = free_port()) remdr = rs_driver_object$client #=================================================================================================# `# error Could not open chrome browser. Client error message: Undefined error in httr call. httr output: Failed to connect to localhost port 14415: Connection refused Check server log for further details. Warning message: In rsDriver(browser = "chrome", chromever = "110.0.5481.30", verbose = FALSE, : Could not determine server status.``