what is the selenium version you're using?
Grid 3 configurations are different from grid 2.
Hi,
Can anyone please let me know if invoking Firefox in grid issue is resolved with selenium 3.0.1
Selenium 3.0.1 with latest chrome driver is working for google chrome with grid but having issue with Firefox "unable to create new remote session".
This is to create a a hub:
java -jar /drivers/jars/selenium-server-standalone-3.0.1.jar -role hub -hubConfig /drivers/grid/hub.json
and the node:
Dwebdriver.chrome.driver=/drivers/chromedriver.exe -jar /drivers/jars/selenium-server-standalone-3.0.1.jar -role node -nodeConfig /drivers/grid/node1.json
//for chrome
DesiredCapabilities capabilities = DesiredCapabilities.chrome();
capabilities.setBrowserName("chrome");
capabilities.setPlatform(org.openqa.selenium.Platform.MAC);
webDriver= new new RemoteWebDriver(new URL(props.getProperty("grid.hub")), capabilities));
}
//for firefox
System.setProperty(TestConstants.GECKO_WEB_DRIVER, getDriverBinary(TestConstants.FIREFOX));
DesiredCapabilities capabilities = DesiredCapabilities.firefox();
capabilities.setBrowserName("firefox");
capabilities.setPlatform(org.openqa.selenium.Platform.MAC);
webDriver= new RemoteWebDriver(new URL(props.getProperty("grid.hub")), capabilities));
}
node.json is slightly different in 3.0.1 and is working fine for chrome
Thanks,
Rezaul