Rule the Internet- With Java+Selenium WebDriver

Get all images or increase twitter followers or become number 1 on a site. Do anything you want.
3.8 (115 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.
8,248 students enrolled
Start Learning Now
  • Lectures 27
  • Length 5.5 hours
  • Skill Level Beginner Level
  • 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 7/2015 English

Course Description

What makes this course unique is the project based approach. All other course just talks about what selenium is and what it does( testing).However, in this course you will learn another aspect of using selenium. There are 3 working projects and several upcoming bonus examples if you ever lack one.

With each technological advancement life becomes a little easier. However the frustration of multiple downloads, clicking on follow button on twitter or seeing everyone else being ranked number 1 for something makes life little uneasy because the heart feels why am I not the number 1. Well, say goodbye to that feeling now. Here comes the Java and some programming tricks which will make your life easier. The course will teach you how you can rule the internet. To be exact "You will learn to do things quicker on internet."

Say for instance :

1. A website contains many images and you want several of them. Will you go and download all of them one by one? The obvious answer is Yes Of course, right? But, what If I say NO, I have another option in which you just click once and you are done. You are going to learn about that another option in this course.

2. Isn't it a frustration if you have to do the same thing again and again on internet. What if I say- You don't have to do one thing again and again . Just do once and rest is done by program. Wouldn't that make your life a little easier? for eg. To follow 100 new people on twitter you have to click 100 times. That takes around 15 minutes. What if you click just once and 99 times is done by program. Once you have gone through the course you will spend only 10 seconds to do that.

3. Ever wanted to acquire specific things from the internet. for eg. Lets say there exists a webpage which has lot of information about billionaires but also has 100 top billionaires. Now you want to get just the names of 100 billionaires. Separating stuffs out of website will be easy once you have gone through the course.

This was just 3 example... You will be able to do more than 3 million examples yourself.

We will use Java+Selenium Webdriver

What are the requirements?

  • Internet Connection Must
  • Computer (Mac, PC, Linux any. Just be sure it can run netbeans)
  • Learning Mood
  • Students enrolling in this course should be aware that "This course is not a web-testing tutorial but how-to use selenium for your benefit tutorial"

What am I going to get from this course?

  • You will be able to write code in Java and then use selenium webdriver to drive internet the way you want.
  • You will also learn the debugging process while you do this.
  • You will have grip on atleast 3 website and you will be able to do what you want.
  • eg. 1. Ever wanted to click 1000+ times on a single item in a webpage ? Here you will learn how to do things like that.

What is the target audience?

  • Any one who has done some kind of coding. For example if you might have written simple html pages. You might have used some programming language to print hello world or anything like that. Thats all is needed for this course.
  • Even the professional coder who has not seen the power of selenium can try this course to get the basics understanding of power the selenium webdriver carries

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: Know the Course Structure
How we will proceed with the course
Section 2: JAVA

Here we will install NetBeans IDE. This is a universal IDE that can be used for multi-purpose. I personally use it more than any other IDE for coding in java


In real life you know your friends and family by name. Now think it the same way for computer. Computer needs a name or say variable to associate one piece of information with another.

2 questions

Solve 2 questions to test your understanding


As the name suggests. Loops means doing same thing repeatedly.

Use for loops when the size is known

Use while loop when you just know that you have some item and you want to display all items.

1 question

Test your skills


Why don't the matchbox company make 1 separate box for each matchstick?

Well, it keeping all matchstick in one box does not make life difficult to find a matchstick does it?

They are storing the same kinds of object in a box.

Similarly, Arrays is like a box where you store the same kind of object. rather than giving different names to each object.


Import statement makes sure that we have the code for what we are trying to use. For example if we want to print something. Our program must know that there is a function that does this task. And this is where import statement shines. It tells the location of the method to your program.


One car may be distinguished from another car based on several factors.

And those factors are what makes an object. In this case the car.


In this course, we use ArrayList, LinkedHashSet, Set


Here you will determine the time taken to execute a certain piece of code.

Also remember 1000ms = 1s

2 questions

Test your skills on mapping time


Without reading and writing everything would be like so volatile. So in this tutorial we acquire certain information and then save it to a text file.


We use all the information we have learned in this section to create a working java console application.

Section 3: Selenium WebDriver
Selenium WebDriver Download
Job Search Using selenium on
Resizing-Positioning and Timeouts for a driver
Setting Firefox Profile Preferences
2 questions

Test your skills on selenium

Section 4: Projects

Though we learned java. But that was basics. The advance topics are not covered in this course because a little of java knowledge can do a lot of things we want.

Below are the recommendations for:


selenium: practice more and read their documentation:

For more projects, just request for one. if I find that really interesting I may include that in bonus section.


We are the master of our will. No one should govern us. The website we see shows what they want. But it is our wish what we want to see. So we will get extract only the links of the people of the top 1000 people being followed on twitter.


Source code can be found in final part of this project


Source code can be found in final part of this project


Source code can be found in final part of this project


Source code can be found in final part of this project


Source code can be found in final part of this project


Source code can be found in final part of this project


Source code can be found in final part of this project

Project3-TwitterHandler Part-5
Section 5: Final Note
Hie there,

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Programmer Prem Kumar, Software Developer, Web Developer

I have been programming for 10 years and have done major projects in major companies. I love to share my knowledge to the world.

Ready to start learning?
Start Learning Now