/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install zsh
brew install wget
#!/bin/bash | |
SNAPSHOT="3.141.59-20200409" | |
docker network create selenium-grid | |
docker run -d -p 4444:4444 --net selenium-grid --name selenium-hub \ | |
--health-cmd='/opt/bin/check-grid.sh --host 0.0.0.0 --port 4444' \ | |
--health-interval=15s --health-timeout=30s --health-retries=5 \ | |
selenium/hub:$SNAPSHOT |
#!/bin/bash | |
SNAPSHOT="3.141.59-20200409" | |
docker stop selenium-hub \ | |
selenium-chrome-node \ | |
selenium-firefox-node \ | |
selenium-opera-node | |
docker rm selenium-hub \ |
# To execute this docker-compose yml file use `docker-compose -f <file_name> up` | |
# Add the `-d` flag at the end for detached execution | |
version: "3" | |
networks: | |
selenium-network: | |
services: | |
selenium-hub: | |
image: selenium/hub:3.141.59-20200409 | |
container_name: selenium-hub |
#!/bin/bash | |
# Install node 10 | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash | |
. ~/.nvm/nvm.sh | |
nvm install 10.21 | |
nvm use 10.21 | |
node -e "console.log('Running Node.js ' + process.version)" | |
# Install Git |