Start Using Selenium WebDriver with Java
Instructed by Alan Richardson
  • Lectures 41
  • Video 2 Hours
  • Skill level all level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

Course Description

Unfortunately we have closed this course to new students. You can still access all the material from our web site

What are the requirements?

  • A Windows PC

What am I going to get from this course?

  • Over 41 lectures and 2 hours of content!

What is the target audience?

  • Absolute beginners that want to start learning Selenium WebDriver

What you get with this course?

Not for you? No problem.
30 day money back guarantee

Forever yours.
Lifetime access

Learn on the go.
Desktop, iOS and Android

Get rewarded.
Certificate of completion


Section 1: Introduction

Set the scene and list the tools we will install.

12.78 KB

The Basic Course outline and notes


About Alan Richardson, your course instructor


Brief overview of Virtual PC and the Microsoft Browser Compatibility Images


I periodically run webinars and maintain a mailing list.

If you are interested in additional information on Selenium Webdriver then sign up for my mailing lists: 

I also periodically release information to youtube: 


How to contact your instructor via Udemy messaging? Udemy haven't made the process of messaging your instructor particularly easy. So I'm going to show you how to do it. The short version is visit the following link and message me:


The Udemy interface can lead to mistakes when asking a question or an answer. I want you to be able to contribute to the course and ask questions so in this video I'll show you how the Udemy interface works for questioning.


Things might go wrong when you follow this course. Your setup might not be the same as mine, you might not notice that some of the earlier steps have failed.

When things go wrong, drop down to the command line and make sure that the basics work:

  • mvn -v
  • java -version

In your project folder make sure that "mvn clean" works without error.

Then try a "mvn compile" and make sure you don't get any download errors reported.

Many of the recent questions on this course have been related to maven.

I have created 2 new videos, and a hints and tips lecture, which show some troubleshooting steps that you can take if you encounter maven problems.

These are over on the full Selenium 2 WebDriver course, but I have made them free previews so you should be able to watch them even if you haven't signed up for the full course.

The lectures are at the end of Section 4

  • Maven FAQs, And Troubleshooting Tips
  • Maven Troubleshooting Downloads
  • Maven Troubleshooting Proxies and Download Cache issues

Please refer to these first, if you encounter any maven issues.

Recently there have been an influx of people on the course, and some are a little confused by the amount of software they install. The course does explain a little about what the software does when using them but the course hasn't provided an overview... until now
Section 2: Install Firefox

Install Firefox browser, and briefly mention Saucelabs as a grid provider


Install firebug and firepath, with reasons why you should and a quick demo of each

Section 3: Install Support Utilities

Install Console2 an open source wrapper around command lines e.g. Cygwin or DOS to make later command line based development work easier


Install the Rapid Environment Editor to make it easier to amend Windows Properties

Section 4: Install Java

Find and install the Java SDK

Section 5: Install Build Tools
I recommend you only install Maven, but if you know about Ant and are curious how it works with Selenium then you can choose to follow the Ant lecture as well. But this course and the main course only require installing maven.

Install Maven


Install Ant the easy way using winAnt

Section 6: Install an IDE

A brief intro to Eclipse and IntelliJ


Install Eclipse


Install Intellij community edition

Section 7: A Simple Example Project

Our first project uses maven so we don't have to download anything from the SeleniumHQ site

A few up to date notes - read this to update your project

A simple WebDriver test in Eclipse using maven


A simple test using WebDriver and Maven in IntelliJ


JUnit asserts often move around, so you probably just have to change the import package.


We need to use driver.quit as well as driver.close

Section 8: Running your tests using Maven

A quick introduction to learning about maven


Running Tests From Command Line Using Maven


Running Maven Tests From Intellij Ide


I show, in theory, how to run the maven targets from within Eclipse but I failed to configure it properly. But I normally use maven from the command line.


Running a test from within Eclipse using maven with the correct configuration this time

Section 9: Make Command Line Easier

Use Console2 as a simple wrapper around command line shells


ConEmu is a very powerful and flexible alternative to Console2

Section 10: Using Ant

Running Tests From Command Line using Ant

Section 11: Next Steps
Some web links to help you learn more about Selenium
We used to learn programming by typing in listings from old computer magazines. Reading code is still a good way to learn.
Some recommended books for self study.
The more Java you learn, the better your automation code will become.

Section 12: Get the source code
I have uploaded the source code to this tutorial to github

This lecture shows where to find it an how to iimport it.

Selenium was updated to 2.26 after this lecture series was created so in this video I show how to update the version of Selenium.
Section 13: End Notes

Additional websites where you can find out about more free information and content that I release.

Instructor Biography

Alan Richardson , I test stuff, and help people test better.

Alan is the Author of the book "Selenium Simplified" and the book "Java For Testers". He has talked at conferences the world over, and has been involved in testing for almost 20 years.

In November at Eurostar 2012 Alan co-presented (with Simon Stewart) the "Selenium Clinic" tutorial. They won the award for Best Tutorial.

Alan writes on the following blogs and web sites:

Join the biggest student community


Hours of video content


Course Enrollments




Average Rating
  1. 5 Stars
  2. 4 Stars
  3. 3 Stars
  4. 2 Stars
  5. 1 Stars
    • Girisankar Kannan

    Good Intro to Selenium

    • Denys Stoianov


    as for free course it's very good job, thanks Alan

    • Shaun Green

    Excellent course, very helpful

    This course essentially took me from zero knowledge to understanding the basic use of Eclipse, IntelliJ, Maven, Ant and various ancillary supporting tools in the space of about six hours. There's still a lot for me to learn but this has been an excellent start. I like that some mistakes were left in and corrected - often we learn more from failure than we do from success... The one bit of difficult I ran into was in using Ant (which is only really touched upon in this course). I transcribed the code from the screen of that lecture, and corrected a few of my mistakes (one by referring to Alan's Selenium Simplified book), but although I managed to get Ant to run the build.xml I created it failed at the compile stage. As best as I can tell, it was importing the Junit and Selenium modules after identifying they were missing, but then failed to understand the methods/commands associated with them. I suspect this is something I may have to figure out by working through the Selenium Simplified book... or I may just not bother, as I think I agree with Alan that IntelliJ and Maven are a much easier option!

    • Theresa

    Fantastic trainer. Fantastic content.

    The course and trainer are both amazing. Beware the corporate network with proxies galore though. I succeeded at home with the exercises, but at work struggled. If Maven doesn't work, or your dependencies don't download, and you've set your environment variables correctly, switch networks. That's what did it for me.

    • Carl Pohl

    Well presented with good information

    Starting of with Selenium can be a big challenge, Allan made it easy through this course, in setting up the environment, some examples etc.

Show more reviews
Ready to start learning?
Preview this course