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:
checking Selenium Server versions: BEGIN: PREDOWNLOAD BEGIN: DOWNLOAD
BEGIN: POSTDOWNLOAD checking chromedriver versions: BEGIN: PREDOWNLOAD
BEGIN: DOWNLOAD BEGIN: POSTDOWNLOAD checking geckodriver versions:
BEGIN: PREDOWNLOAD BEGIN: DOWNLOAD BEGIN: POSTDOWNLOAD checking
phantomjs versions: BEGIN: PREDOWNLOAD BEGIN: DOWNLOAD BEGIN:
POSTDOWNLOAD
[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.
I installed selenium-server-standalone-3.141.59.jar and geckodriver-v0.26.0