• For Individuals
  • For Businesses
  • For Universities
  • For Governments
Coursera
Online Degrees
Careers
Log In
Join for Free
Coursera
Packt
Foundations of Python and Selenium WebDriver
  • About
  • Outcomes
  • Modules
  • Recommendations
  • Testimonials
  • Reviews
  1. Browse
  2. Computer Science
  3. Mobile and Web Development
Packt

Foundations of Python and Selenium WebDriver

This course is part of Selenium WebDriver 4 with Python - Zero To Hero Specialization

Packt - Course Instructors

Instructor: Packt - Course Instructors

Included with Coursera Plus

•Learn more
12 modules
Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

Recommended experience

Beginner level

Ideal for automation engineers, developers, and QA professionals seeking Python and Selenium skills.

14 hours to complete
3 weeks at 4 hours a week
Flexible schedule
Learn at your own pace

12 modules
Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

Recommended experience

Beginner level

Ideal for automation engineers, developers, and QA professionals seeking Python and Selenium skills.

14 hours to complete
3 weeks at 4 hours a week
Flexible schedule
Learn at your own pace
  • About
  • Outcomes
  • Modules
  • Recommendations
  • Testimonials
  • Reviews

What you'll learn

  • Recall the steps to install and configure Python and Selenium WebDriver

  • Explain Python variables, data types, and control structures

  • Utilize advanced data types and reusable code in Python projects

  • Differentiate between various classes and objects and manipulate them effectively in Python

Skills you'll gain

  • Web Development Tools
  • Scripting
  • Development Environment
  • File Management
  • Web Scraping
  • Python Programming
  • Test Automation
  • Selenium (Software)
  • Debugging
  • Object Oriented Programming (OOP)

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

6 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

Learn more about Coursera for Business
 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

Build your subject-matter expertise

This course is part of the Selenium WebDriver 4 with Python - Zero To Hero Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 12 modules in this course

Updated in May 2025.

This course now features Coursera Coach! A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. Dive into the world of Python programming and Selenium WebDriver with our expertly designed course. Starting with a thorough introduction, you'll quickly move into setting up your Python environment. Detailed videos will guide you through installing Python on various operating systems and setting up your first project with PyCharm. The initial modules ensure you have a strong foundation in Python basics, covering variables, data types, and essential operations. As you progress, the course delves into more advanced Python concepts such as lists, dictionaries, and tuples, along with comparison and Boolean operators. You will master control flow in Python using conditional statements and loops, enhancing your ability to write efficient and logical code. The course also emphasizes reusable code through functions and methods, followed by a comprehensive section on object-oriented programming. The latter part of the course shifts focus to Selenium WebDriver, starting with an overview of its architecture and capabilities. You'll learn to inspect elements on different browsers, utilize tools like SelectorsHub, and generate effective XPaths. Practical exercises and real-world examples are embedded throughout the course, ensuring you can apply what you've learned to automate web applications seamlessly. This course is ideal for aspiring automation engineers, developers, and QA professionals looking to gain practical skills in Python programming and web automation using Selenium WebDriver. No prior experience in Python is required, but a basic understanding of web technologies is beneficial.

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.

What's included

4 videos2 readings

4 videos•Total 15 minutes
  • Introduction to the Specialization•1 minute•Preview module
  • Why Selenium?•5 minutes
  • Selenium WebDriver Architecture•5 minutes
  • How to Reach Me Anytime•3 minutes
2 readings•Total 20 minutes
  • Introduction to the Course 'Foundations of Python and Selenium WebDriver'•10 minutes
  • Full Specialization Resources•10 minutes

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.

What's included

7 videos1 plugin

7 videos•Total 72 minutes
  • Python Installation – Windows•7 minutes•Preview module
  • Configuration of Python – Windows•11 minutes
  • Python Installation and Setup – Mac•17 minutes
  • First Project Creation and PyCharm Installation•15 minutes
  • Must-Watch Lecture Before Moving Forward•9 minutes
  • Package Management Using PIP•8 minutes
  • Installing iPython•3 minutes
1 plugin•Total 15 minutes
  • Installing Python and Configuring Environment Variables•15 minutes

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.

What's included

12 videos1 assignment1 plugin

12 videos•Total 96 minutes
  • Python Terminal Walkthrough•11 minutes•Preview module
  • Understanding Objects and References•9 minutes
  • Variable Rules•7 minutes
  • Numbers – Data Type and Math Operations•7 minutes
  • Numbers – Exponentiation and Modulo•5 minutes
  • Arithmetic Order of Precedence•6 minutes
  • Boolean Data Type•6 minutes
  • Working with Strings in Python•9 minutes
  • String Methods - Part 1•10 minutes
  • String Methods - Part 2•8 minutes
  • String Slicing and Indexing•7 minutes
  • Strings Formatting•5 minutes
1 assignment•Total 15 minutes
  • Assessment 1•15 minutes
1 plugin•Total 15 minutes
  • Exploring Python Terminal Basics•15 minutes

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.

What's included

6 videos1 plugin

6 videos•Total 49 minutes
  • List and Accessing the Elements•7 minutes•Preview module
  • List Methods•10 minutes
  • Working with a Dictionary•10 minutes
  • Nested Dictionary•7 minutes
  • Dictionary Methods•6 minutes
  • Working with Tuple•6 minutes
1 plugin•Total 15 minutes
  • Working with Python Lists•15 minutes

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.

What's included

3 videos1 plugin

3 videos•Total 24 minutes
  • Working with Comparison Operators•9 minutes•Preview module
  • Understanding Boolean Operators•7 minutes
  • Boolean Operators - Order of Precedence•7 minutes
1 plugin•Total 15 minutes
  • Understanding Python Comparison and Boolean Operators•15 minutes

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.

What's included

6 videos1 assignment1 plugin

6 videos•Total 52 minutes
  • Conditional Logic - If Else Conditions•11 minutes•Preview module
  • While Loop Demo•7 minutes
  • Break Continue and While/Else•9 minutes
  • For Loop Demo•11 minutes
  • Iterating Multiple Lists - Using the Zip Function•3 minutes
  • Using Range Function in For Loop•8 minutes
1 assignment•Total 15 minutes
  • Assessment 2•15 minutes
1 plugin•Total 15 minutes
  • Mastering Conditional Logic•15 minutes

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.

What's included

6 videos1 plugin

6 videos•Total 60 minutes
  • Understanding Methods•10 minutes•Preview module
  • Working with Return Values•12 minutes
  • Working with Positional/Optional Parameters•7 minutes
  • Understanding Variable Scope•10 minutes
  • More Built-In Functions•9 minutes
  • Practice Exercise with Solution Homework•10 minutes
1 plugin•Total 15 minutes
  • Understanding Python Methods•15 minutes

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.

What's included

6 videos1 plugin

6 videos•Total 51 minutes
  • Understanding Objects/Classes•9 minutes•Preview module
  • Create Your Own Object•12 minutes
  • Create Your Own Methods•8 minutes
  • Inheritance•8 minutes
  • Method Overriding•8 minutes
  • Practice Exercise with Solution Homework•4 minutes
1 plugin•Total 15 minutes
  • Understanding Classes and Objects in Python•15 minutes

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.

What's included

3 videos1 assignment1 plugin

3 videos•Total 21 minutes
  • Exception Handling Demo•10 minutes•Preview module
  • Finally and Else Block•7 minutes
  • Practice Exercise with Solution Homework•3 minutes
1 assignment•Total 15 minutes
  • Assessment 3•15 minutes
1 plugin•Total 15 minutes
  • Handling Exceptions in Python•15 minutes

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.

What's included

2 videos1 plugin

2 videos•Total 15 minutes
  • Built-In Modules•8 minutes•Preview module
  • Create Your Own Modules•6 minutes
1 plugin•Total 15 minutes
  • Exploring Python Modules•15 minutes

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.

What's included

3 videos1 plugin

3 videos•Total 24 minutes
  • How to Write Data to a File•8 minutes•Preview module
  • How to Read a File•6 minutes
  • File Handling Using the "With" and "As" Keywords•9 minutes
1 plugin•Total 15 minutes
  • Working with Python File I/O•15 minutes

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.

What's included

8 videos1 reading3 assignments1 plugin

8 videos•Total 63 minutes
  • Introduction•4 minutes•Preview module
  • Inspecting Elements Using Firefox DevTools•11 minutes
  • Inspecting Elements Using Chrome DevTools•10 minutes
  • SelectorsHub Installation•5 minutes
  • How to Use SelectorsHub•9 minutes
  • Tricks to Generate XPath•9 minutes
  • Best Inspect Element Tool•5 minutes
  • How To Inspect Disappearing Elements•7 minutes
1 reading•Total 10 minutes
  • Conclusion to the Course 'Foundations of Python and Selenium WebDriver'•10 minutes
3 assignments•Total 90 minutes
  • Full Course Practice Assessment•15 minutes
  • Assessment 4•15 minutes
  • Full Course Assessment•60 minutes
1 plugin•Total 15 minutes
  • Finding HTML Elements with Browser Tools•15 minutes

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Packt - Course Instructors
Packt - Course Instructors
Packt
756 Courses•157,214 learners

Offered by

Packt

Offered by

Packt

Packt helps tech professionals put software to work by distilling and sharing the working knowledge of their peers. Packt is an established global technical learning content provider, founded in Birmingham, UK, with over twenty years of experience delivering premium, rich content from groundbreaking authors on a wide range of emerging and popular technologies.

Explore more from Mobile and Web Development

  • Status: Free Trial
    Free Trial
    P

    Packt

    Introduction to Python and Basic Selenium Setup

    Course

  • W

    Whizlabs

    Selenium WebDriver with Python

    Course

  • Status: Free Trial
    Free Trial
    P

    Packt

    Foundations of Selenium WebDriver and Java for Automation

    Course

  • C

    Coursera Instructor Network

    Introduction to Selenium

    Course

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."
Coursera Plus

Open new doors with Coursera Plus

Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Learn more

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Explore degrees

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Learn more

Frequently asked questions

Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.

If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.

Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.

If you complete the course successfully, your electronic Course Certificate will be added to your Accomplishments page - from there, you can print your Course Certificate or add it to your LinkedIn profile.

This course is one of a few offered on Coursera that are currently available only to learners who have paid or received financial aid, when available.

If you subscribed, you get a 7-day free trial during which you can cancel at no penalty. After that, we don’t give refunds, but you can cancel your subscription at any time. See our full refund policyOpens in a new tab.

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

More questions

Visit the learner help center

Financial aid available,

Coursera Footer

Technical Skills

  • ChatGPT
  • Coding
  • Computer Science
  • Cybersecurity
  • DevOps
  • Ethical Hacking
  • Generative AI
  • Java Programming
  • Python
  • Web Development

Analytical Skills

  • Artificial Intelligence
  • Big Data
  • Business Analysis
  • Data Analytics
  • Data Science
  • Financial Modeling
  • Machine Learning
  • Microsoft Excel
  • Microsoft Power BI
  • SQL

Business Skills

  • Accounting
  • Digital Marketing
  • E-commerce
  • Finance
  • Google
  • Graphic Design
  • IBM
  • Marketing
  • Project Management
  • Social Media Marketing

Career Resources

  • Essential IT Certifications
  • High-Income Skills to Learn
  • How to Get a PMP Certification
  • How to Learn Artificial Intelligence
  • Popular Cybersecurity Certifications
  • Popular Data Analytics Certifications
  • What Does a Data Analyst Do?
  • Career Development Resources
  • Career Aptitude Test
  • Share your Coursera Learning Story

Coursera

  • About
  • What We Offer
  • Leadership
  • Careers
  • Catalog
  • Coursera Plus
  • Professional Certificates
  • MasterTrack® Certificates
  • Degrees
  • For Enterprise
  • For Government
  • For Campus
  • Become a Partner
  • Social Impact
  • Free Courses
  • ECTS Credit Recommendations

Community

  • Learners
  • Partners
  • Beta Testers
  • Blog
  • The Coursera Podcast
  • Tech Blog

More

  • Press
  • Investors
  • Terms
  • Privacy
  • Help
  • Accessibility
  • Contact
  • Articles
  • Directory
  • Affiliates
  • Modern Slavery Statement
  • Do Not Sell/Share
Learn Anywhere
Download on the App Store
Get it on Google Play
Logo of Certified B Corporation
© 2025 Coursera Inc. All rights reserved.
  • Coursera Facebook
  • Coursera Linkedin
  • Coursera Twitter
  • Coursera YouTube
  • Coursera Instagram
  • Coursera TikTok
Coursera

Welcome back

​
Your password is hidden
​

or

New to Coursera?


Having trouble logging in? Learner help center

This site is protected by reCAPTCHA Enterprise and the Google Privacy Policy and Terms of Service apply.