Selenium - rsDriver(browser = "firefox") -> Conection Refused

I'm trying to use Selenium for the first time in my computer. But I'm having an error in the first line:

My code:

library(RSelenium)

rD <- rsDriver(browser = "firefox")

Error message:

[1] "Connecting to remote server"
Could not open firefox browser.
Client error message:
Undefined error in httr call. httr output: Failed to connect to localhost port 4567: Conection Refused
Check server log for further details.
Warning message:
In rsDriver(browser = "firefox") : Could not determine server status.

My OS is Linux Mint, 19.3, Cinnamon.

In my windows server, this line works well.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.