-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
Description
What happened?
Pulled the latest image of docker-selenium and tried to run test cases against it. I could see Sessions getting queued up at http://localhost:4444.
Code:
DesiredCapabilities desiredCapabilities = new DesiredCapabilities();
desiredCapabilities.setCapability(CapabilityType.PLATFORM_NAME, String.valueOf(Platform.WINDOWS));
desiredCapabilities.setCapability(CapabilityType.BROWSER_NAME, String.valueOf(Browser.CHROME));
WebDriver driver = new RemoteWebDriver(new URL("http://localhost:4444"), desiredCapabilities);
driver.get("<url>");
Command used to start Selenium Grid with Docker
docker run -d -p 4444:4444 -p 7900:7900 --shm-size="2g" selenium/standalone-chrome:113.0Relevant log output
Getting timeout error saying Session is not createdOperating System
Windows 10
Docker Selenium version (tag)
113.0