O'Reilly logo

Selenium WebDriver Practical Guide by Satya Avasarala

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 1. Introducing WebDriver and WebElements

In this chapter, we will look briefly into the Selenium history and proceed to the basic components of a web page, WebElements. We will learn different ways to locate WebElements on a web page and execute various user actions on them. We will cover the following topics in this chapter:

  • History of Selenium
  • Difference between Selenium 1 and Selenium 2
  • Setting up an Eclipse project to execute the example code
  • Locating WebElements on a web page
  • Actions that can be taken on the WebElements

Understanding the history of Selenium

Though this book is not intended to deal with Selenium 1, it is a good idea to know briefly about it before we start off with WebDriver. In this way, we can understand how and why WebDriver ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required