wiki:SeleniumGrid

Version 3 (modified by gotcha, il y a 13 ans) (diff)

--

Selenium Grid

Download server

$ wget http://selenium.googlecode.com/files/selenium-server-standalone-2.7.0.jar

Launch server

$ java -jar selenium-server-standalone-2.7.0.jar -role hub

Register Selenium RC compatible node

with potentially 3 firefox and 2 safari running in parallel.

java -jar selenium-server-standalone-2.7.0.jar -role rc -hub http://localhost:4444/grid/register -port 5555 \
-browser browserName=*firefox -browser browserName=*firefox -browser browserName=*firefox \
-browser browserName=*safari -browser browserName=*safari

This does not need to run on the same machine as the hub, effectively allowing to run browsers on various platforms.

To check which nodes are registered on the hub : browse to

http://hub_machine:4444/grid/console