Which Python Selenium WebDriver code snippet correctly connects to a Selenium Grid running inside a Docker container on localhost port 4444?
Adriver = webdriver.Remote(command_executor='http://localhost:4444/wd/hub', desired_capabilities=webdriver.DesiredCapabilities.CHROME)
Bdriver = webdriver.Chrome(executable_path='http://localhost:4444/wd/hub')
Cdriver = webdriver.Firefox(remote_url='http://localhost:4444')
Ddriver = webdriver.Remote('http://localhost:5555/wd/hub', capabilities=webdriver.DesiredCapabilities.FIREFOX)