Connection refused error when attempting to use RSelenium chromedriver Connection refused error when attempting to use RSelenium chromedriver docker docker

Connection refused error when attempting to use RSelenium chromedriver


Finally solved this. If you run:

sel <- wdman::selenium()sel$log()

it should show you any errors thrown up when trying to initialise selenium. In this case the path to the java binary was incorrect (no idea why it changed on its own).

So I simply re-followed the steps mentioned here: "PATH to JAVA not found. Please check JAVA is installed." error when initialising RSelenium

and it worked.