Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

Foundations of Python and Selenium WebDriver

Packt via Coursera

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Updated in May 2025. This course now features Coursera Coach — your interactive learning companion that helps you test your knowledge, challenge assumptions, and deepen your understanding as you progress. Kickstart your journey into Python programming and web automation with this hands-on course that combines programming fundamentals with the power of Selenium WebDriver. Whether you’re an aspiring automation engineer, developer, or QA professional, you’ll gain the skills to write efficient code and automate real-world web applications with confidence. You’ll begin by setting up your Python environment and mastering the essentials — variables, data types, and operators — before progressing to more advanced concepts like lists, dictionaries, tuples, and control flow. Through guided exercises, you’ll practice writing clean, reusable code using functions, methods, and object-oriented programming principles. Once you’ve built a strong programming foundation, you’ll transition to Selenium WebDriver, learning how to automate browsers and test web applications end-to-end. You’ll explore key topics like inspecting elements, creating dynamic XPaths, and using tools such as SelectorsHub to streamline automation. Each module includes practical labs that bring your learning to life, from writing your first automated test to handling complex workflows. By the end of this course, you will have: - Developed a solid understanding of Python fundamentals and OOP. - Built automation scripts using Selenium WebDriver. - Learned to locate and interact with web elements across browsers. - Gained the confidence to apply Python and Selenium in professional testing or development environments. No prior Python experience is required, though a basic understanding of web technologies is helpful. This course is ideal for learners who want to turn foundational coding skills into practical automation expertise.

Syllabus

  • Introduction
    • In this module, we will get acquainted with the course and the instructor, understand the significance of Selenium, delve into the architecture of Selenium WebDriver, and learn the best ways to communicate with the instructor for any queries or support.
  • Setup and Configuration
    • In this module, we will walk through the process of installing and configuring Python on both Windows and Mac systems, create a Python project using PyCharm IDE, learn about package management with pip, and install iPython for a better Python development experience.
  • Understanding Variables and Data Type
    • In this module, we will dive into Python's variables and data types, exploring the terminal, understanding objects and references, and working with numbers, booleans, and strings. We will also learn about string methods, slicing, indexing, and formatting.
  • Advanced Data Types
    • In this module, we will focus on advanced data types such as lists, dictionaries, and tuples. We will learn how to access elements, use built-in methods, and understand the differences and applications of each data type.
  • Comparison and Boolean Operators
    • In this module, we will explore comparison and Boolean operators in Python, learning how to apply them and understand their order of precedence to build more complex logical expressions.
  • Program Control Flow
    • In this module, we will cover the essential elements of control flow in Python, including conditional statements and various types of loops. We will also learn how to iterate over multiple lists and use the range function effectively within loops.
  • Functions/Methods - Working with Reusable Code
    • In this module, we will dive into functions and methods, focusing on creating reusable code, handling return values, and understanding variable scope. We will also explore more built-in functions and complete practical exercises to reinforce our learning.
  • Classes – Object-Oriented Programming
    • In this module, we will introduce object-oriented programming in Python, covering the creation of classes and objects, methods, inheritance, and method overriding. Practical exercises will help solidify these concepts.
  • Exception Handling
    • In this module, we will learn how to manage exceptions in Python using try, except, finally, and else blocks. Practical exercises will help you understand and implement these concepts effectively.
  • Modules
    • In this module, we will explore Python's built-in modules and learn how to create our own modules to organize and reuse code efficiently.
  • Working with Files
    • In this module, we will cover file operations in Python, including writing to and reading from files, and managing files using the "with" and "as" keywords for efficient file handling.
  • How To Inspect Elements On Different Browsers
    • In this module, we will explore techniques for inspecting web elements across different browsers, use developer tools, and learn tricks for generating and customizing XPath selectors. We will also address challenges with inspecting disappearing elements.

Taught by

Packt - Course Instructors

Reviews

Start your review of Foundations of Python and Selenium WebDriver

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.