Hello,
I start Selenium grid in this way:
The hub: java -jar selenium-2.33.0/selenium-server-standalone-2.33.0.jar -role hub -port 14444
The node: java -jar selenium-2.33.0/selenium-server-standalone-2.33.0.jar -role node -hub
http://localhost:14444
And I use the DefaultSelenium API in Java to start a browser in this way:
new DefaultSelenium(serverHost, serverPort, "*chrome", browserURL);
The problem is that it cannot start the "*chrome" browser when running in grid mode, but it CAN do when running selenium in standalone mode. In both modes, grid hub and node, as well as the standalone server run on the same machine, so the environment is exactly the same. I would then guess it is a selenium bug. Have you seen the similar problem?
P.S.
1. this is how I start selenium in standalone mode: java -jar selenium-2.33.0/selenium-server-standalone-2.33.0.jar -port 14444
2. if I use *firefox as the constructor parameter, both standalone and grid modes work.
3. *chrome is not google's chrome browser, it is the firefox browser with compromised security where I can upload files and take screenshots.
Thanks,
Xuetao