Book Image

Selenium Fundamentals

By : Patrick Viafore
Book Image

Selenium Fundamentals

By: Patrick Viafore

Overview of this book

We’ll begin this course by understanding the importance of automating tests. Then, we will learn how to choose good selectors for navigating through your web application while highlighting best practices and techniques. After writing your first tests, you will go through the object model to help create your own advanced test cases. You will learn how to analyze a test report, track timing errors, and separate real issues from "flaky" tests. You will also learn how to configure and connect to a local grid, a network grid, and a third-party service. By the end of the course, you will have the skills you need to run automated tests on your own web application. GitHub link for this course - https://github.com/TrainingByPackt/Selenium-Fundamentals-eLearning
Table of Contents (9 chapters)
Chapter 3
WebElement Functionality
Content Locked
Section 3
An Overview of Frequently Used Methods
The Selenium WebElement interface allows you to create variables of the WebElement type, which represent HTML elements on a web page. It also provides methods to interact with these elements. Let us learn about the frequently used methods in a WebDriver class and how to use the driver object to navigate to a desired web application URL.