5. Take away
Automation on Different browser using selenium Grid
Challenges :
● Different Browser’s version on Same machine.
● Different OS on same machine.
● Difficult to set up.
6. Are Containers Worth it ?
Google
"Everything at Google runs in a container," Joe Beda, a senior staff software
engineer at Google, explained in some slides shown at the Gluecon
conference this week. "We start over two billion containers per week."
Source: https://www.slideshare.net/brendandburns/gluecon-kubernetes
Uber
We started the migration to Docker in the beginning of 2016, and by now
we are running around 1500 Docker production servers (for MySQL only) and
we have provisioned around 2300 MySQL databases.
Source: https://eng.uber.com/dockerizing-mysql/
7.
8. Docker is an open platform for developing, shipping, and running applications. Docker enables you to separate
your applications from your infrastructure so you can deliver software quickly.
10. Benefits
● Can spin up many containers
● One component, One container
● Throw them away when you’re done
● All the dependencies inside the container
11. Docker file Text editor
Container
Image
Docker repository
Docker run
Docker Push
Docker
build
Imported by Docker file FROM statement
Docker Pull
20. Images we will use for Selenium grid
• selenium/hub
• selenium/node-phantomjs
• selenium/node-chrome-debug
• selenium/node-firefox-debug
• selenium/node-firefox-debug:3.4.0-bismuth
21. Commands
● docker run -d -p 4446:4444 --name selenium-hub selenium/hub
● docker run -d -P --link selenium-hub:hub selenium/node-chrome-debug
● docker run -d -P --link selenium-hub:hub selenium/node-firefox-debug
● docker run -d -e PHANTOMJS_OPTS="--ignore-ssl-errors=true" --link selenium-
hub:hub selenium/node-phantomjs
Non interactive Port Container Name Image name
Linking with container