In this video, Meaghan Lewis demonstrates how to install the WebDriver, the framework to write tests, as well as geckodriver, the browser driver to run tests in Firefox.
- [Female Narrator] Before writing test,…there are two tools I need to install.…Those tools are Selenium WebDriver as the framework,…and geckodriver as the browser driver to runtest in Firefox.…To get started, I'll go to the Selenium HQ website…to install the webdriver language bindings for Ruby.…Once there, I will scroll down until I get to the…Selenium Client and WebDriver Language Bindings section.…I see that there are language bindings available…for each of the supported languages.…
I'm going to go ahead and download…the Ruby Language Bindings.…After clicking on the download link, I am redirected…to the Ruby gems page for selenium-webdriver.…Just a note on gems:…in Ruby, gems are independent software packages.…You can think of it as a library or plugin.…RubyGems is the package management framework.…And each gem needs to be installed before using it.…Gems can either be installed via gem install…or via the bundler.…
Gem install is a command that comes built in with the…Ruby gems library, and is included in Ruby by default.…
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