1.install chocolatey
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
2.open new cmd window and run
choco install jdk8
- Download Selenium (Java) http://www.seleniumhq.org/download/ and place the JAR file in a folder
- Download PhantomJs http://phantomjs.org/download.html and place it in the same folder note: there is a nasty bug in PhantomJS, so I needed to apply [https://gist.github.com/neuro-sys/41e368839a9b20dafb34](this fix)
- place start-selenium-grid.ps1 in the same folder
Execute start-seleniumgrid.ps1, optionally can proivde the commandline argument 'instances' the change the number of PhantomJs instances