Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Test Automation with Playwright, Python, and Pytest
Rating: 4.7 out of 5(3 ratings)
1,021 students

Test Automation with Playwright, Python, and Pytest

From zero to advanced in modern web testing
Last updated 1/2026
English

What you'll learn

  • Create fast, reliable, and efficient tests for any web application
  • Build scalable test suites using the Page Object Model and Pytest fixtures
  • Understand and apply the fundamentals of Playwright (navigation, interactions, selectors, file uploads, and downloads)
  • Integrate automated tests into CI/CD pipelines

Course content

13 sections54 lectures4h 48m total length
  • Resources
  • Python + PyCharm Installation2:43
  • Creating the Virtual Environment2:58
  • Installing Playwright and Pytest1:54
  • Your First Automated Test7:54

Requirements

  • Basic knowledge of programming logic or Python will be helpful, but is not required.

Description

This course covers the use of artificial intelligence.

Playwright, developed by Microsoft, has been gaining increasing traction as a complete and modern tool for web test automation. It supports multiple browsers such as Chromium, Firefox, and WebKit, and provides powerful features like automatic waiting, script recording, and integrated debugging, which simplify daily work and make tests more robust.

In this course, you will learn how to use Playwright with Python and Pytest, one of the most in-demand combinations in the market. We will start from scratch with Python installation, virtual environment creation, Playwright setup, and execution of your first automated test.

Throughout the lessons, you will master the fundamentals of Playwright, learn how to work with selectors, essential commands, element inspection, and best practices. Next, we will cover the Page Object Model (POM), a pattern that helps organize automation projects and bring greater clarity and maintainability.

You will also have a dedicated module on Pytest Fixtures, where you will learn hands-on how to create fixtures, explore their different scopes, and apply them to real-world scenarios to keep your tests well-structured and reusable.

In addition, the course covers essential topics for day-to-day automation work, such as file uploads and downloads, parallel execution, custom HTML reports, authentication using storage state, and finally CI/CD integration using Jenkins.

By the end of the course, you will have developed a complete automation project, applying concepts and practices used in real companies, ready to be used in a professional environment.

Whether you are taking your first steps in quality assurance or looking to accelerate your career, this course will change the way you understand and apply test automation.

Who this course is for:

  • Software Test Analysts
  • Anyone who wants to work with web automation in general