Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Playwright Python Test Automation Framework Foundations
Rating: 4.0 out of 5(5 ratings)
109 students
Created byKumar S
Last updated 5/2026
English

What you'll learn

  • Understand the fundamentals of Pytest and Playwright
  • Set up and configure Pytest and Playwright for automation projects
  • Design and implement robust end-to-end test cases using Playwright
  • Apply Pytest features like fixtures, markers, and parameterization
  • Execute tests in parallel and generate insightful reports
  • Debug, maintain, and scale automation frameworks for real-world applications

Course content

7 sections46 lectures6h 3m total length
  • Introduction2:42
  • About Playwright3:49
  • Why Playwright Over Selenium6:03
  • Setup - Installations(ide)10:39
  • Writing Python Pytest Tests(1/2)6:55
  • Writing Python Pytest Tests(2/2)6:28
  • Playwright Installation6:15
  • First Playwright Test8:39
  • Execute Playwright Tests(1/2)10:10
  • Execute Playwright Tests(2/2)4:33
  • Pytest Test Discovery10:07
  • Quiz
  • Quiz
  • Playwright-Pytest Cmd Line11:46
  • About HTML, Browser Extension, etc9:26
  • Quiz

Requirements

  • No prior experience with Pytest or Playwright is required — just a basic understanding of Python and web applications.

Description

Hi! Welcome to Python Automation Testing With Playwright and Pytest!

This course will help you master automation testing with Playwright. Playwright is a modern automation framework built by Microsoft that enables fast, reliable end-to-end testing across all major browsers.

  • It provides a single API that works with Chromium, Firefox, and WebKit, making it truly cross-browser and cross-platform.

  • Playwright supports multiple programming languages, including Python, JavaScript, TypeScript, .NET, and Java, which makes it accessible to a wide range of developers.

  • One of its standout features is auto-waiting, where Playwright intelligently waits for elements to be ready before interacting with them, reducing flaky tests caused by timing issues.

  • With its ability to run tests headless or headed, locally or in CI/CD pipelines, Playwright has quickly become a favorite among QA engineers and developers for building scalable and resilient test suites

Python Automation Testing With Playwright and Pytest is designed for beginners who want to step confidently into the world of modern web automation. This course introduces you to Playwright, a powerful browser automation framework, and shows you how to integrate it seamlessly with Pytest, one of Python’s most popular testing tools.

You’ll start with the basics — setting up your environment, writing your first test, and understanding how Playwright interacts with browsers. Step by step, you’ll learn how to handle real-world scenarios such as multiple tabs, popups, file uploads, and dynamic elements. Along the way, Pytest will help you structure your tests, manage fixtures, and generate clear reports.

By the end of the course, you’ll be able to:

  • Setting up and running Pytest and Playwright in you local IDE environment

  • Write reliable end-to-end tests for modern web applications

  • Use CSS and XPath selectors effectively to target elements

  • Handle multiple browser contexts and sessions

  • Apply best practices for scalable and maintainable test suites

This course is perfect for students, QA engineers, and developers who want to build a strong foundation in automation testing without prior experience.

Thank you and see you in this course!!!

Who this course is for:

  • Beginner to intermediate Python users looking to apply their skills in test automation
  • Manual testers eager to move into automation with minimal setup and fast results
  • Selenium users exploring faster, more reliable browser automation with Playwright
  • Test engineers working in Agile or DevOps environments who need CI/CD-friendly test frameworks
  • Developers who want to integrate automated UI testing into their development workflow