Last active
November 8, 2016 14:21
-
-
Save lazytesting/a35e837367d141a75268b052a8f45d20 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param ( | |
[string]$instances = 10 | |
) | |
docker rm -f selenium-hub | |
docker run --restart=always -d -p 4444:4444 --name selenium-hub selenium/hub:3.0.0-dubnium | |
$i=0 | |
while($i -ne $instances) | |
{ | |
docker rm -f chromedriver-$i | |
docker run --restart=always -d --link selenium-hub:hub --name=chromedriver-$i selenium/node-chrome:3.0.0-dubnium | |
$i++ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment