SlideShare a Scribd company logo
Selenium Grid Workshop
Schedule
9:00-9:30 — General Set up: Power Cords, Wi-Fi, Seating, and Introductions
9:30-10:30 — Grid Overview, Basic Concepts & Philosophy
10:30-10:45 — Break
10:45-12:00 — Hub/Node Setup and Config
12:00-1:00 — Lunch
1:30-3:30 — Docker, Troubleshooting, and Advanced Options
3:30-3:45 — Break
3:45-5:00 — Extensions, Plug-ins, Auto-scaling, and Advanced Logging
— Q&A, Anecdotes, Discussion, and General Tips & Tricks
Overview
● Terminology
● General Flow
● Hub/Node Details
● Configuration
● Docker Intro
● Edge (if you dare)
● Preview of Next Session
https://goo.gl/BWlK1a
Terminology
● Hub
● Node
● Test Slot
● Test
● Thread
● Proxy
Grid 101
Hub
● The intermediary and manager
● Accepts requests to run tests
● Allocates Test Slots to nodes
● Takes instructions directly from client, and executes them
remotely on nodes
● The Hub only manages threads—it performs zero browser
work
Node
- Registers itself to Hub listed in config
- Communicates its config to the Hub at registration time:
- Test Slots per browser
- “Hey Hub, I have 1 Slot for Firefox, 5 for Chrome”
- Receives json wire protocol instructions from the Hub
- Executes instructions, keeping threads separated
- The Node does not evaluate, make judgments, or control
anything: it only receives and executes instructions (and
throws exceptions)
Start the Hub:
java -jar selenium-server-standalone-3.0.1.jar -role hub
Register a node:
java -jar selenium-server-standalone-3.0.1.jar -role node
-hub http://localhost:4444/grid/register -browser
browserName=firefox,maxInstances=3 -browser
browserName=chrome,maxInstances=5
*All commands are case sensitive!
Starting From Command-line
Hub Parameters — Configuration
● -port
Default is 4444, use this to override
● -jettyMaxThreads <int>
Maximum number of threads server will pool
● -cleanUpCycle <milliseconds>
Interval for hub to poll for inactive test sessions
Hub Parameters - Timeouts
● -timeout <seconds>
● -browserTimeout <seconds, min 60>
Timeout between receiving individual commands
60 seconds minimum value
● -newSessionWaitTimeout <milliseconds>
Timeout the server will wait for a new Session to be created
Hub Parameters —
● -prioritizer
Class (on the classpath!) that will be used to sort queued new Session requests
Must implement Prioritizer
● -servlets
Custom servlets, mainly for grid plugins
● -log <filename>
Hub Parameters — Capabilities
● -throwOnCapabilityNotPresent
● -capabilityMatcher
Class that implements CapabilityMatcher
DefaultCapabilityMatcher only checks Platform, Browser Name, Version,
“applicationName”
Node Command line options
● -nodeConfig <filename>
● -hubHost <DNS entry>
● -hubPort <port>
● -host <localhost>
● -port <local port>
● -maxSession <int>
● -register
● -servlets
Node Parameters — JSON file
● -nodeConfig <filename>
{ "capabilities": [
{ "browserName": "chrome",
"maxInstances": 5,
"platform": "WINDOWS",
"webdriver.chrome.driver": "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe" }, ],
"configuration": {
"_comment" : "Configuration for Node",
"cleanUpCycle": 2000,
"proxy": "org.openqa.grid.selenium.proxy.WebDriverRemoteProxy",
"port": 5555,
"host": ip,
"register": true,
"hubPort": 4444,
"maxSessions": 5 }
}
Node Command line options
● -browser param1=val1,param2=val2
Usually, only browserName, platform, version, applicationName and
maxInstances are important
● -cleanUpCycle <milliseconds>
● -registerCycle <milliseconds>
How often the node will try to register itself again. Allows you to restart the hub
without having to restart the nodes
Run It!
● We’ll write a quick javascript test
● Use node to run it
● We’ll need:
○ Node (v6.9.0) (brew install node)
○ selenium-webdriver module (npm install -g selenium-webdriver)
○ chromedriver v2.25.426935
● Paste script (https://goo.gl/sRNVVC) into test.js
● node test.js
● It will go really fast, so be sure to watch!
docker 101
● docker ps
● docker exec -it <container id> bash
● docker kill <image>
● docker run
● docker images -a
● docker rmi <image>
● docker -p
● docker -P
● docker -d
● docker --link
docker-selenium Standalone
Running a standalone machine without connecting to a hub
● selenium/standalone-chrome: Selenium standalone with Chrome installed
● selenium/standalone-firefox: Selenium standalone with Firefox installed
● selenium/standalone-chrome-debug: Selenium standalone with Chrome
installed and runs a VNC server
● selenium/standalone-firefox-debug: Selenium standalone with Firefox installed
and runs a VNC server
docker-selenium Standalone
Start docker instance:
Chrome docker run -d -p 4455:4444 selenium/standalone-chrome:2.53.0
Firefox docker run -d -p 4466:4444 selenium/standalone-firefox:2.53.0
docker run -d --name se -p 5900:5900 -p 4444:4444
selenium/standalone-chrome-debug
Check they are up and running and you can connect to them!
http://localhost:4455/wd/hub/status
http://localhost:4466/wd/hub/status
Register them to your running hub: https://goo.gl/TE4xuv
docker-selenium GRID
● selenium/hub: Image for running a Selenium Grid Hub
● selenium/node-chrome: Selenium node with Chrome installed, needs to
be connected to a Selenium Grid Hub
● selenium/node-firefox: Selenium node with Firefox installed, needs to be
connected to a Selenium Grid Hub
● selenium/node-chrome-debug: Selenium node with Chrome installed
and runs a VNC server, needs to be connected to a Selenium Grid Hub
● selenium/node-firefox-debug: Selenium node with Firefox installed and
runs a VNC server, needs to be connected to a Selenium Grid Hub
docker-selenium GRID
● Creating a docker HUB instance
docker run -d -p 5000:4444 --name selenium-hub -P selenium/hub
To check if the hub is up and running
http://localhost:5000/grid/console
● Run a Chrome Node and Link it to Hub
docker run -d --link selenium-hub:hub -P --name chrome
selenium/node-chrome-debug
● Run a Firefox Node and Link it to Hub
docker run -d --link selenium-hub:hub -P --name firefox
selenium/node-firefox-debug
Selenium GRID with docker-compose
docker-compose is a YAML file that will help manage your docker services
● Start, stop & rebuild services
● View the status and logs of services.
To get a docker-compose yml file: https://goo.gl/puYvnV
To spin up Selenium Grid: docker-compose up -d
Q&A
Thank You All!
Marcus Merrell
&
Manoj Kumar
Add a Windows VM https://goo.gl/P8q7jT
starting Edge node
java -jar
selenium-standalone-server-3.0.1.jar
-nodeConfig config.json -port 4444 -hub
http://<host>:<port>/grid/register -host <ip
address of win10 vm> -role node
config file:
https://goo.gl/LWdsGm
Other Grid Topics
Selenium Grid Extras
https://github.com/groupon/Selenium-Grid-Extras
Selenium Grid Scaler
https://github.com/mhardin/SeleniumGridScaler
BrowserMob Proxy
https://bmp.lightbody.net/
Run Via Saucelabs
java 
> -cp 
> selenium-server-standalone-3.0.1.jar; 
> sauce-grid-plugin-1.0.4.jar 
> org.openqa.grid.selenium.GridLauncher 
> -role hub 
> -servlets 
> com.saucelabs.grid.SauceOnDemandAdminServlet, 
> com.saucelabs.grid.SauceOnDemandConsoleServlet

More Related Content

PDF
Introduction to selenium_grid_workshop
KEY
Selenium Grid
PPTX
Managing Large Selenium Grid
PPTX
Scaling and Managing Selenium Grid
PDF
Meet the Selenium Grid
PDF
Grid Router – scalable and fault tolerant solution for Selenium grid
PPTX
Stabilizing SE Build - Selenium conf 2013
PPTX
How to work with Selenium Grid and Cloud Solutions
Introduction to selenium_grid_workshop
Selenium Grid
Managing Large Selenium Grid
Scaling and Managing Selenium Grid
Meet the Selenium Grid
Grid Router – scalable and fault tolerant solution for Selenium grid
Stabilizing SE Build - Selenium conf 2013
How to work with Selenium Grid and Cloud Solutions

What's hot (20)

PDF
[Perforce] Adventures in Build
PDF
Introduction to Ansible
PDF
The way to set automation testing
PPTX
Ansible presentation
PDF
Chef Provisioning a Chef Server Cluster - ChefConf 2015
PDF
Hacking on WildFly 9
PDF
Local development environment evolution
ODP
CommandBox REPL, CLI, and Package Manager
PDF
runC: The little engine that could (run Docker containers) by Docker Captain ...
PDF
Configuration Management - Finding the tool to fit your needs
PDF
Delivering a production Cloud Foundry Environment with Bosh | anynines
PDF
Nginx Essential
PPT
Nginx internals
PPT
SaltConf14 - Ben Cane - Using SaltStack in High Availability Environments
PDF
Cloud infrastructures - Slide Set 6 - BOSH | anynines
PDF
JBoss AS 7 따라잡기
PDF
ESIGate dev meeting #4 21-11-2013
PDF
OSGi in Action - How we use OSGi to build Open Liberty - Alasdair Nottingham ...
PDF
Scripting Yor Java Application with BSF3
 
PDF
Spot Trading - A case study in continuous delivery for mission critical finan...
[Perforce] Adventures in Build
Introduction to Ansible
The way to set automation testing
Ansible presentation
Chef Provisioning a Chef Server Cluster - ChefConf 2015
Hacking on WildFly 9
Local development environment evolution
CommandBox REPL, CLI, and Package Manager
runC: The little engine that could (run Docker containers) by Docker Captain ...
Configuration Management - Finding the tool to fit your needs
Delivering a production Cloud Foundry Environment with Bosh | anynines
Nginx Essential
Nginx internals
SaltConf14 - Ben Cane - Using SaltStack in High Availability Environments
Cloud infrastructures - Slide Set 6 - BOSH | anynines
JBoss AS 7 따라잡기
ESIGate dev meeting #4 21-11-2013
OSGi in Action - How we use OSGi to build Open Liberty - Alasdair Nottingham ...
Scripting Yor Java Application with BSF3
 
Spot Trading - A case study in continuous delivery for mission critical finan...
Ad

Viewers also liked (20)

PDF
Automation Using Selenium Webdriver
PPTX
Continuous Delivery With Selenium Grid And Docker
PPTX
Distributed automation sel_conf_2015
PPTX
Selenium-Grid-Extras
PDF
KraQA #22, Filip Cynarski - Selenium Grid w chmurze Amazon Web Services
PPT
Understanding Selenium/RC, Webdriver Architecture and developing the page obj...
PPTX
Grading the Quality of Selenium Tests
PPTX
User Analytics Testing - SeleniumCamp 2015
PPT
Selenium lightning-talk
PDF
Advanced Selenium Workshop
PDF
SeleniumCamp 2015 Andrii Soldatenko
PDF
CodeFest 2014. Макаров Н. — Selenium Grid. OK Version
PPTX
Selenium introduction
PPT
Automation test
ODP
Docker AWS TechCONNECT Boston, 28-July-2015
PDF
Selenium Gridで遊ぼう
PPTX
Distributed automation selcamp2016
ODP
Fast web acceptance testing with selenium-grid
PDF
Practical Test Automation Deep Dive
PDF
Better Page Object Handling with Loadable Component Pattern - SQA Days 20, Be...
Automation Using Selenium Webdriver
Continuous Delivery With Selenium Grid And Docker
Distributed automation sel_conf_2015
Selenium-Grid-Extras
KraQA #22, Filip Cynarski - Selenium Grid w chmurze Amazon Web Services
Understanding Selenium/RC, Webdriver Architecture and developing the page obj...
Grading the Quality of Selenium Tests
User Analytics Testing - SeleniumCamp 2015
Selenium lightning-talk
Advanced Selenium Workshop
SeleniumCamp 2015 Andrii Soldatenko
CodeFest 2014. Макаров Н. — Selenium Grid. OK Version
Selenium introduction
Automation test
Docker AWS TechCONNECT Boston, 28-July-2015
Selenium Gridで遊ぼう
Distributed automation selcamp2016
Fast web acceptance testing with selenium-grid
Practical Test Automation Deep Dive
Better Page Object Handling with Loadable Component Pattern - SQA Days 20, Be...
Ad

Similar to Selenium grid workshop london 2016 (20)

ODP
Mastering selenium for automated acceptance tests
PDF
Boris Stoyanov - Troubleshooting the Virtual Router - Run and Get Diagnostics
PDF
Automating Complex Setups with Puppet
PPTX
NLIT 2011: Chef & Capistrano
PDF
Ansible Automation to Rule Them All
PPTX
Dockerizing the Hard Services: Neutron and Nova
PDF
Automação do físico ao NetSecDevOps
PPTX
ДМИТРО БУДИМ «Mobile Automation Infrastructure from scratch» Online QADay 202...
PDF
Automation day red hat ansible
PDF
Telemetry indepth
PPTX
Automating Software Development Life Cycle - A DevOps Approach
PPTX
Session on Launching Selenium Grid and Running tests using docker compose and...
PPTX
Plone deployment made easy
PPTX
Orchestration Tool Roundup - Arthur Berezin & Trammell Scruggs
ODP
Nagios Conference 2014 - Leland Lammert - Distributed Heirarchical Nagios
PDF
ContainerCon - Test Driven Infrastructure
KEY
Cooking with Chef
PDF
Automating complex infrastructures with Puppet
PDF
Switch as a Server - PuppetConf 2014 - Leslie Carr
PPTX
Real World Lessons on the Pain Points of Node.js Applications
Mastering selenium for automated acceptance tests
Boris Stoyanov - Troubleshooting the Virtual Router - Run and Get Diagnostics
Automating Complex Setups with Puppet
NLIT 2011: Chef & Capistrano
Ansible Automation to Rule Them All
Dockerizing the Hard Services: Neutron and Nova
Automação do físico ao NetSecDevOps
ДМИТРО БУДИМ «Mobile Automation Infrastructure from scratch» Online QADay 202...
Automation day red hat ansible
Telemetry indepth
Automating Software Development Life Cycle - A DevOps Approach
Session on Launching Selenium Grid and Running tests using docker compose and...
Plone deployment made easy
Orchestration Tool Roundup - Arthur Berezin & Trammell Scruggs
Nagios Conference 2014 - Leland Lammert - Distributed Heirarchical Nagios
ContainerCon - Test Driven Infrastructure
Cooking with Chef
Automating complex infrastructures with Puppet
Switch as a Server - PuppetConf 2014 - Leslie Carr
Real World Lessons on the Pain Points of Node.js Applications

Recently uploaded (20)

PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
additive manufacturing of ss316l using mig welding
PPT
Mechanical Engineering MATERIALS Selection
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
Digital Logic Computer Design lecture notes
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPT
Project quality management in manufacturing
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
CH1 Production IntroductoryConcepts.pptx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
UNIT 4 Total Quality Management .pptx
additive manufacturing of ss316l using mig welding
Mechanical Engineering MATERIALS Selection
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Operating System & Kernel Study Guide-1 - converted.pdf
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Digital Logic Computer Design lecture notes
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Project quality management in manufacturing
Embodied AI: Ushering in the Next Era of Intelligent Systems
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
bas. eng. economics group 4 presentation 1.pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Model Code of Practice - Construction Work - 21102022 .pdf
CH1 Production IntroductoryConcepts.pptx

Selenium grid workshop london 2016

  • 2. Schedule 9:00-9:30 — General Set up: Power Cords, Wi-Fi, Seating, and Introductions 9:30-10:30 — Grid Overview, Basic Concepts & Philosophy 10:30-10:45 — Break 10:45-12:00 — Hub/Node Setup and Config 12:00-1:00 — Lunch 1:30-3:30 — Docker, Troubleshooting, and Advanced Options 3:30-3:45 — Break 3:45-5:00 — Extensions, Plug-ins, Auto-scaling, and Advanced Logging — Q&A, Anecdotes, Discussion, and General Tips & Tricks
  • 3. Overview ● Terminology ● General Flow ● Hub/Node Details ● Configuration ● Docker Intro ● Edge (if you dare) ● Preview of Next Session https://goo.gl/BWlK1a
  • 4. Terminology ● Hub ● Node ● Test Slot ● Test ● Thread ● Proxy
  • 6. Hub ● The intermediary and manager ● Accepts requests to run tests ● Allocates Test Slots to nodes ● Takes instructions directly from client, and executes them remotely on nodes ● The Hub only manages threads—it performs zero browser work
  • 7. Node - Registers itself to Hub listed in config - Communicates its config to the Hub at registration time: - Test Slots per browser - “Hey Hub, I have 1 Slot for Firefox, 5 for Chrome” - Receives json wire protocol instructions from the Hub - Executes instructions, keeping threads separated - The Node does not evaluate, make judgments, or control anything: it only receives and executes instructions (and throws exceptions)
  • 8. Start the Hub: java -jar selenium-server-standalone-3.0.1.jar -role hub Register a node: java -jar selenium-server-standalone-3.0.1.jar -role node -hub http://localhost:4444/grid/register -browser browserName=firefox,maxInstances=3 -browser browserName=chrome,maxInstances=5 *All commands are case sensitive! Starting From Command-line
  • 9. Hub Parameters — Configuration ● -port Default is 4444, use this to override ● -jettyMaxThreads <int> Maximum number of threads server will pool ● -cleanUpCycle <milliseconds> Interval for hub to poll for inactive test sessions
  • 10. Hub Parameters - Timeouts ● -timeout <seconds> ● -browserTimeout <seconds, min 60> Timeout between receiving individual commands 60 seconds minimum value ● -newSessionWaitTimeout <milliseconds> Timeout the server will wait for a new Session to be created
  • 11. Hub Parameters — ● -prioritizer Class (on the classpath!) that will be used to sort queued new Session requests Must implement Prioritizer ● -servlets Custom servlets, mainly for grid plugins ● -log <filename>
  • 12. Hub Parameters — Capabilities ● -throwOnCapabilityNotPresent ● -capabilityMatcher Class that implements CapabilityMatcher DefaultCapabilityMatcher only checks Platform, Browser Name, Version, “applicationName”
  • 13. Node Command line options ● -nodeConfig <filename> ● -hubHost <DNS entry> ● -hubPort <port> ● -host <localhost> ● -port <local port> ● -maxSession <int> ● -register ● -servlets
  • 14. Node Parameters — JSON file ● -nodeConfig <filename> { "capabilities": [ { "browserName": "chrome", "maxInstances": 5, "platform": "WINDOWS", "webdriver.chrome.driver": "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe" }, ], "configuration": { "_comment" : "Configuration for Node", "cleanUpCycle": 2000, "proxy": "org.openqa.grid.selenium.proxy.WebDriverRemoteProxy", "port": 5555, "host": ip, "register": true, "hubPort": 4444, "maxSessions": 5 } }
  • 15. Node Command line options ● -browser param1=val1,param2=val2 Usually, only browserName, platform, version, applicationName and maxInstances are important ● -cleanUpCycle <milliseconds> ● -registerCycle <milliseconds> How often the node will try to register itself again. Allows you to restart the hub without having to restart the nodes
  • 16. Run It! ● We’ll write a quick javascript test ● Use node to run it ● We’ll need: ○ Node (v6.9.0) (brew install node) ○ selenium-webdriver module (npm install -g selenium-webdriver) ○ chromedriver v2.25.426935 ● Paste script (https://goo.gl/sRNVVC) into test.js ● node test.js ● It will go really fast, so be sure to watch!
  • 17. docker 101 ● docker ps ● docker exec -it <container id> bash ● docker kill <image> ● docker run ● docker images -a ● docker rmi <image> ● docker -p ● docker -P ● docker -d ● docker --link
  • 18. docker-selenium Standalone Running a standalone machine without connecting to a hub ● selenium/standalone-chrome: Selenium standalone with Chrome installed ● selenium/standalone-firefox: Selenium standalone with Firefox installed ● selenium/standalone-chrome-debug: Selenium standalone with Chrome installed and runs a VNC server ● selenium/standalone-firefox-debug: Selenium standalone with Firefox installed and runs a VNC server
  • 19. docker-selenium Standalone Start docker instance: Chrome docker run -d -p 4455:4444 selenium/standalone-chrome:2.53.0 Firefox docker run -d -p 4466:4444 selenium/standalone-firefox:2.53.0 docker run -d --name se -p 5900:5900 -p 4444:4444 selenium/standalone-chrome-debug Check they are up and running and you can connect to them! http://localhost:4455/wd/hub/status http://localhost:4466/wd/hub/status Register them to your running hub: https://goo.gl/TE4xuv
  • 20. docker-selenium GRID ● selenium/hub: Image for running a Selenium Grid Hub ● selenium/node-chrome: Selenium node with Chrome installed, needs to be connected to a Selenium Grid Hub ● selenium/node-firefox: Selenium node with Firefox installed, needs to be connected to a Selenium Grid Hub ● selenium/node-chrome-debug: Selenium node with Chrome installed and runs a VNC server, needs to be connected to a Selenium Grid Hub ● selenium/node-firefox-debug: Selenium node with Firefox installed and runs a VNC server, needs to be connected to a Selenium Grid Hub
  • 21. docker-selenium GRID ● Creating a docker HUB instance docker run -d -p 5000:4444 --name selenium-hub -P selenium/hub To check if the hub is up and running http://localhost:5000/grid/console ● Run a Chrome Node and Link it to Hub docker run -d --link selenium-hub:hub -P --name chrome selenium/node-chrome-debug ● Run a Firefox Node and Link it to Hub docker run -d --link selenium-hub:hub -P --name firefox selenium/node-firefox-debug
  • 22. Selenium GRID with docker-compose docker-compose is a YAML file that will help manage your docker services ● Start, stop & rebuild services ● View the status and logs of services. To get a docker-compose yml file: https://goo.gl/puYvnV To spin up Selenium Grid: docker-compose up -d
  • 23. Q&A Thank You All! Marcus Merrell & Manoj Kumar
  • 24. Add a Windows VM https://goo.gl/P8q7jT
  • 25. starting Edge node java -jar selenium-standalone-server-3.0.1.jar -nodeConfig config.json -port 4444 -hub http://<host>:<port>/grid/register -host <ip address of win10 vm> -role node config file: https://goo.gl/LWdsGm
  • 26. Other Grid Topics Selenium Grid Extras https://github.com/groupon/Selenium-Grid-Extras Selenium Grid Scaler https://github.com/mhardin/SeleniumGridScaler BrowserMob Proxy https://bmp.lightbody.net/
  • 27. Run Via Saucelabs java > -cp > selenium-server-standalone-3.0.1.jar; > sauce-grid-plugin-1.0.4.jar > org.openqa.grid.selenium.GridLauncher > -role hub > -servlets > com.saucelabs.grid.SauceOnDemandAdminServlet, > com.saucelabs.grid.SauceOnDemandConsoleServlet