From the course: Advanced Selenium: Automation Frameworks
Unlock the full course today
Join today to access over 22,500 courses taught by industry experts or purchase this course individually.
Introducing Watir - Selenium Tutorial
From the course: Advanced Selenium: Automation Frameworks
Introducing Watir
- [Instructor] Now that we've had a look at RSpec, let's go ahead and bring in Watir. The precursor to Watir actually came about a little bit before Selenium WebDriver itself. And it was a tool to automate testing in Internet Explorer. When I first used Watir, it was already being called Watir WebDriver to distinguish the Selenium-driven version from the original. Anyway, let's dive in. First things first, Watir will need access to Chromedriver. We'll open up tutorial.gemspec in the Atom IDE, and add the web drivers gem as a dependency. Make some room at the bottom of the file. Add the web drivers dependency, and we'll set the version to approximately version four using a feature called optimistic version locking. The short explanation is that this tilde greater than means use any version between 4.0 and 5.0. The web drivers gem handles sessions in Chrome driver and Firefox's Mozilla driver and Safari and Internet Explorer…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Getting started with Ruby23s
-
(Locked)
Managing packages with Bundler4m 28s
-
(Locked)
Installing Bundler gems1m
-
(Locked)
Introducing RSpec59s
-
(Locked)
Introducing Watir1m 59s
-
(Locked)
Testing with Watir: Navigate and wait4m 39s
-
(Locked)
Testing with Watir: Inputs4m 41s
-
(Locked)
Testing with Watir: Assertions2m 22s
-
(Locked)
-
-
-