Selenium with Python - A Beginner’s Guide

Selenium with Python - A Beginner’s Guide

Get started with Selenium using Python as a Programming Language

person icon Pallavi Sharma

ebook icon BPB Publications

language icon Language - English

updated on icon Updated on Jan, 2021

architecture icon Development,Data Science and AI ML,Python


This eBook includes

Formats : EPUB, PDF (Downlodable)

Pages : 102

ISBN : 9789389328813

Language : English

About the Book

Book description

Step by step directions to get started with Selenium using Python as a programming language

Key Features

● Get introduced to the world of Selenium
● Understand the concept of locators in Selenium
● Learn how to write scripts using Selenium WebDriver in Python
● Learn the concepts of synchronization
● Learn how to handle different HTML elements like form, table, alert, frame, and dropdown
● Learn about design patterns like the page object model, data-driven tests, and adding assertions


Selenium is the most popular open source test automation tool available in the market. In the last decade, its usage has dramatically increased in the IT sector across all types of organizations. The reason for its popularity is mainly because it supports multiple programming languages, test executions on multiple browsers and operating systems. In this book, we will learn about the different components of Selenium.
We will discuss the concepts of WebDriver and learn how to apply test automation concepts with it to automate the testing of our application. We will learn the process of recognizing the test objects on the screen and writing Selenium commands using Python as a programming language
We will also discuss how to use design patterns like the page object mode and data-driven testing to ensure building a robust test framework, which is modular and scalable in nature.

What will you learn

The objective is to introduce the world of Selenium to a manual tester who knows Python as a programming language. You will learn to demystify the concept of identifying test objects and writing Selenium commands to create robust test scripts. This book will help learn to automate different HTML elements, which we come across in the web applications we need to test. You will understand how to build a good test suite by learning the concept of design patterns like the page object model and data-driven tests to ensure maintainability of code.

Who this book is for

This book is for people who have experience in manual testing and knowledge in Python as a programming language.
This book will also be helpful for a developer who knows Python as a programming language and is looking for test automation as a career option.

Table of Contents

1. Selenium - Important Conceptual Background
2. Selenium IDE
3. Locators in Selenium
4. Installation and Setup
5. Selenium WebDriver
6. Unit Test Creation n Python
7. Synchronizing Tests
8. Parameterization of Tests
9. Handling Different Web Elements
10. Working with Frames
11. Concept of the Page Object Model
12. Implementing Selenium Grid  

Selenium with Python - A Beginner’s Guide

eBook Preview

Author Details

BPB Publications

BPB Publications

BPB is Asia's largest publishers of Computer & IT books. For the last 63 years BPB has been a friend, philosopher and guide for programmers, developers, hardware technicians, IT Professionals who have made things happen in the IT World.

Our students work
with the Best

Related eBooks

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
People having fun around a laptop

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
People having fun around a laptop

Talk to us