Selenium WebDriver The Easy Way With Java!

Teaches you Selenium from scratch and guidelines of how to use Selenium to get most out of it
4.3 (22 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
937 students enrolled
Take This Course
  • Lectures 34
  • Length 4.5 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

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.

About This Course

Published 9/2015 English

Course Description

Have you ever wondered how to run a automation script that drives the flow that you need? How to buy a book in online, by writing a program? Isn't that fun?

Yeah thats really the fun, in this course, we will do exactly the same! We will learn Selenium principles and its fundamentals ideas and use them to buy a selenium book in a online store automatically!

Doing so is not that easy, and thats where this course pitches in. This course teaches you all the fundas and debugging skills which required to do complex stuff in Selenium.

The only thing that is expected from students is their time and basics of Java; rest all this course takes care!

Gist of the course:

* Selenium Fundas

* Selenium internals and architecture.

* Selenium locators & DOM

* Real world project!

and much more.

So why your waiting for? There are 100+ students in this course, reading Selenium the easy way with java! Sign up today, before the prices increases :)

What are the requirements?

  • Should have internet connection, Eclipse, Java , Selenium Jars. Installations of these will be taught in the course.

What am I going to get from this course?

  • Will be able to write Selenium code easily, without any issues
  • Will be able to solve most famous Selenium issues yourself
  • Get more confidence with Selenium and its API
  • Teach others "Selenium The Easy Way"
  • See how to handle "Real World" project with Selenium

Who is the target audience?

  • Anyone who has willing to learn Selenium can take up this course
  • Anyone, who need to understand the fundamental of Selenium.
  • Anyone, who wish to write solid code in Selenium

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: Setting up the base

In this first lecture will see what selenium is (and also what selenium can't do) and how its useful for QA folks.


In this lecture will see what makes "Selenium" the right tool to automate our UI. The lecture goes in deep to explain the reasons behind it.


There is always an confusion, within ourselves. Why I need to learn Java in order to Selenium? I can understand your feelings, this lecture will answer this specific question.


This lecture, will cover the course roadmap in depth. We will see, what all topics that we are going to cover, what our expectations are, what I expect from you, etc.


In this lecture, we will cover what all tools are required for running this course successfully. You can treat this as your APPENDIX lecture.

Section 2: Bigger Picture

In this lecture, will cover "Selenium Architecture". Understanding "architecture" for any frameworks or tools is key to understand the framework in itself. Its the fundas for everything! This specific talk, go in depth and see what all components make together the framework called "Selenium".


Selenium has been evolved a lot. There are lot of changes in Selenium in recent years. The major breakthrough was "WebDriver", before "WebDriver" there is an version of Selenium called

"RC". In this particular lecture, we will see what is the main difference between "RC" and "Webdriver"


Understanding Java is needed to code Selenium well. This lecture, does covers the fundamentals of Java in such a way that, you could follow the rest of examples in the upcoming lectures. Don't worry, Java is easy!


Interface is one of the key component of Object oriented programming. Java supports interfaces, and there is a strong relationship between interface and WebDriver. In this lecture, I will give you an analogy, of what an interface is, so that without any technical knowledge, you will grab its idea!


In this lecture, we will see what an "WebDriver" is all about. And also end up the lecture, with running example of "WebDriver", which allows you to open an webpage.


As previous lecture, given you an example of "WebDriver", now you have seen the first Selenium code to do the stuffs. Given this, current lecture will revist the "Selenium Archiecture" that we have discussed before. This lecture, will "bind" the code sample that we have seen in previous lecture with our previsoulsy discussed archiecture. The main idea of this lecture is to give you the complete flow from code level to archiecture level.


This lecture will reveal the truth of how each browser works in respect to Selenium. We will the technical details of each browser implementation in "Selenium" world.

Section 3: WebDriver The Real Meat:

In this lecture, we will see an analogy of how humans find an object! Don't think crazy about it, there is an interesting stuff in it! We will use this analogy and map them with Selenium findElement call


Before your do any operation on the webpage, you need to find an element for which the operation is done. But how to find an element? In previous lecture, I gave an anlogy on how humans find object. In this lecture, we will carry that and explain how Selenium does find the object. Will cover selenium API called findElement.


All the elements that findElement going to return are of type WebElement. So understanding what an WebElement is key in Selenium. In this lecture, we will introduce "WebElement" an important component in Selenium


We have now seen two components, "WebElement" and "WebDriver". They are for different reasons, this lecture will differentiate between these two components.


An webpage is built out of DOM. WebElement are just an wrapper around DOM. We are using findElements to find within DOM. As you can feel, DOM is the main universe where all our selenium calls run. This lecture, explains, what an DOM is and how its related to Selenium

Section 4: Locator strategy

As explained in the previous lecture, DOM is where all selenium code fires in. In this lecture, we will see, one of the easiest and best way to find an element in DOM using "id" property. Will show you an example of running an sample program in Selenium by capturing an element using id and do some operation on it.


We have seen "id" strategy to find an element. Now we will explain another starategy to find an element in DOM universe, which is nothing but "css". Css are very powerful tool to find an element, this lecture will end up showing an example of css property in Selenium code!


We all know traversing a tree, traversing a street etc. Actually we can do traversing on DOM as well, using another strategy named "XPATH". It has one unique feature, which other strategies doesn't have, they are called as "Xpath functions". This lecture explains what an xpath (and xpath functions) is and how to use them in your Selenium code-base.


There are other properties in which we can find an element in Selenium. They are linkText, partialLinkText, etc. This lecture covers them all with related code samples.


We have seen lot of strategy till now. But what strategy to use? Which is best? Which is fastest? We will be answering these questions in this lecture. Lecture starts with an "Address" analogy to give you an insight how Selenium strategies works. And lecture ends up with hints and tips of when to use each strategy.

Section 5: Real World Project

In this lecture, I will give an overview of what we will build using "Selenium" in a real world project. The idea is to automate an famous online store using Selenium. We will be completely automating the flow of buying an "Selenium book" in this online store!


In this first coding session, we will discuss the advanced concept of Selenium, which is called as "FluentWait". The session teaches you how to use Selenium APIs to create an "FluentWait" method. Then using this particular method, we will automate the first flow of our real-world project.


You have learned a lot both concept and coding wise from the previous lecture. This lecture covers the key idea, that we need to carry-forward in our Selenium learning journey. The lecture also ends up with giving challenging excersise for you to solve!


In this lecture, we will continue with our automation project. This lecture, introduces another main concept of Selenium, which is called "WebDriverWait". Lecture also gives insight on how to use Selenium predefined conditions rather than creating ourselves one!


You have learned a lot both concept and coding wise from the previous lecture. This lecture covers the key idea, that we need to carry-forward in our Selenium learning journey. The lecture also ends up with giving challenging excersise for you to solve!


Software development is on an ongoing process, this lecture gives an solid example for this case. Lecture starts with what all changes "Flipkart" have done to their site and how it affects our automation code. The lecture teaches the best practices of how to handle this real world scenario case in step by step process.


In this final lecture, we will continue our automation framework process. This lecture teaches you the best practices for maintaing an solid selenium code.


You have learned a lot both concept and coding wise from the previous lecture. This lecture covers the key idea, that we need to carry-forward in our Selenium learning journey. The lecture also ends up with giving challenging excersise for you to solve!

Source Code for Our Real World Project
Section 6: Going Forward:

In this lecture, we will cherish ourselves for completing this course! Great job!


In this lecture, we will see how we can take up the knowledge that we have got in this lecture to another level.

Section 7: Bonus Lecture
Angular 2 Coupon!

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Anto Aravinth, Software Developer & Passionate Teacher

Hi this is Anto. Well, I have around 3+ years Experience in Software development. During my software development there will be lot of learnings for me. I want my learnings to be shared with others! There are tough times when I learn the things. I want it to be easily sharable to others.

I still remember my teacher saying "If you want to understand one thing, you need to teach it". And thats exactly I have been doing in my company and also over here! I'm mostly into web development using Java and front-end technologies. I'm a teacher at my office and over here as well! :)

Apart from work, I'm an open source contributor to Groovy, Selenium and React Js. Member of JUG Chennai!

Ready to start learning?
Take This Course