In this video, Meaghan Lewis configures a node to the central hub in a Selenium Grid instance. Once a node is configured, it can be viewed in the Grid console.
- [Instructor] Now that I have a central hub set up,…it's time to configure my first node.…To do this,…I'll go back to the terminal…and open up a new tab…and change directories to the Downloads directory.…From there I'll use the Selenium standalone server…to configure a node.…I'll type java -jar selenium-server-standalone-3.7.1.jar…- role node -hub…and the address for the registration endpoint of the hub,…which is http://localhost:…We're at 4444/grid/register.…
This command tells my hub to go to the specified location…and register a new server with a role of node to it.…Similarly as with launching the hub,…I see terminal output saying that a selenium grid node…is being launched.…I also see that the node is ready to register to the hub,…and then a confirmation…once the node is successfully registered…and ready to use.…I'll switch back over to the tab…where I'm running my hub…and see that the line of output was added saying…that a node was registered at a specified location.…
Next I'll open up my browser…and go back to the grid console.…
Find out how to set up the test-writing framework, WebDriver, and Selenium Grid, which allows you to distribute the testing load and run tests against a remote server. Learn best practices to write effective tests using variables and functions, and to organize tests into suites that can scale over time. Instructor Meaghan Lewis—a QA engineer at GitHub—also explains the test pyramid paradigm, which details an ideal way to balance unit, integration, and UI testing.
- Setting up Selenium WebDriver
- Using the Selenium grid to distribute the testing load
- Setting up a hub and nodes
- Writing clean test code
- Organizing a test suite