Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.