There are times when you would like to Selenium Grid quickly so that it can scale to whatever testing goal is you want to achieve. To start out you will need to get Docker you can goto Docker.com to find out more information on installing. Create a docker-compose.yml Make a new directory and name a file docker-compose.yml inside that directory. The contents are below. hub: image: selenium/hub ports: - "4444:4444" chrome: image: selenium/node-chrome links: - hub expose: - "5555" firefox: image: selenium/node-firefox links: - hub expose: - "5555" Once you have created your file goto that directory in your command line. This will create your instances and download necessary files. $ docker-compose build To run your instances you can run the following and it will start your servers. $ docker-compose up At this point you can now point your test code to http://127.0.0.1:4444 as the selenium server. You will n...
Harrington personal home page and blog