I created a Selenium standalone Firefox docker container and started the session in Host port:4545 docker run -d -p 4545:4444 --shm-size 2g selenium/standalone-firefox:3.141.59 I checked with http://localhost:4545/ if opening or not. It worked fine.
When I am trying to connect through my Selenium code, it is throwing me error as:
Please suggest how I can resolve this issue?
Change the RemoteWebDriver url from http://localhost:4545/wb/hub to http://localhost:4545/wd/hub