Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Playwright Automation with Python, Pytest, AI & Jenkins
Rating: 4.3 out of 5(233 ratings)
2,646 students

Playwright Automation with Python, Pytest, AI & Jenkins

Master modern web automation using Playwright, Python & Pytest with AI integrations and CI/CD using Jenkins
Created byLucky Trainings
Last updated 8/2026
English
English [Auto],Spanish [Auto],

What you'll learn

  • Python fundamentals required for automation testing
  • Playwright architecture: Browser, Context, and Page
  • Writing reliable, non-flaky Playwright tests
  • Advanced locators, actions, assertions, and waits
  • Handling frames, windows, alerts, downloads, and uploads
  • Authentication handling using storage state
  • Pytest features: fixtures, markers, parametrization
  • Parallel execution and test configuration
  • Reporting, screenshots, videos, and tracing
  • AI concepts in test automation and Playwright MCP
  • CI/CD integration using Jenkins
  • Designing scalable automation frameworks

Course content

8 sections • 223 lectures • 28h 2m total length
  • Introduction to Python2:14

    Explore Python’s general purpose, interactive, object oriented, high level design, its open source nature, cross platform support, and its use in data science, machine learning, web and more.

  • Install Python on Windows7:18

    Install Python on Windows by downloading the exe from the Python website, running the installer, updating the Python path in the environment variables, and verify with python --version and pip.

  • Install Python on MAC2:19

    Download the latest version of Python from python.org/downloads for Mac, run the installer and complete setup, then verify success by opening Terminal and executing python3 --version and pip3 --version.

  • Course Material0:32
  • Overview on editors and install PyCharm5:42

    Explore the editor concepts and install PyCharm for Python development, including downloading, installing, and launching on Mac and Windows, with a preview of Eclipse as an alternative.

  • Configure Eclipse editor for python scripting9:33
  • Creating a project and adding comments to PyCharm6:34

    Create a PyCharm project, add a Python file, and write code with comments to improve readability, using # for single-line and triple quotes for multi-line comments, and print hello world.

  • Data types and examples17:42

    Explore how Python handles variables and data types, including integers, floats, and strings. Develop meaningful names, perform arithmetic, print results, and use type and isinstance to verify data types.

  • Install GITHUB Copilot to PyCharm Editor2:31
  • Overview on Operators Part 112:59
  • Overview on Operators Part 27:33
  • Examples on String data type8:34
  • Overview on TypeCasting8:26
  • Overview on List with examples6:09

    Explore Python lists: store multiple items of mixed types in an ordered, mutable container, access by index, and use append, insert, remove, and len to manage data.

  • Overview on List with examples Part 223:40

    Explore Python lists with indexing, negative indexing, slicing, and the in operator; practice count, sorting (ascending and descending), reverse, and modifications with remove, pop, del, and copy.

  • Overview on Set with examples Part 13:11
  • Overview on Set with examples Part 210:46

    Explore Python set operations with add, update, discard, remove, and pop on two sets; test membership, copy, clear, and compute intersection and union.

  • Overview on Tuple with examples2:54

    Explore tuples as immutable collections similar to lists; learn how to access values by index, maintain insertion order, allow duplicates, and use length to count elements.

  • Overview on Tuple with examples Part 29:43

    Learn how tuples remain immutable in Python, perform index-based access and slicing, check presence with in, count occurrences, and convert to a list for modifications before converting back.

  • Overview on Dictionary with example Part 14:19
  • Overview on Dictionary with example Part 210:06

    Explore Python dictionaries through three definition approaches, learn insertion order, and master add, delete with del or pop, clear, and access with get, items, keys, and values.

  • If Statement and examples7:49
  • For Loop statements with examples7:24
  • While Loop statements with examples3:50

    Demonstrate while loop usage in Python, contrast with for loops, control execution with a condition, prevent infinity loops, and increment a until ten, noting < vs <=, with WebDriver examples.

  • Overview on functions part 112:09
  • Overview on functions part 27:14

    Create a Python function with arbitrary arguments to sum inputs, using a tuple and a for loop. Clarify function versus method and returning multiple values as a tuple.

  • Scope of variables8:28

    Explore the scope of variables in Python, distinguishing local and global variables, and using the global keyword to access and update globals inside functions.

  • Introduction to Class and Object9:19

    Learn how to define a class, the blueprint for objects, in Python's object oriented programming language, create objects, and use attributes, behaviors, docstrings, and self in methods.

  • overview on static method5:23

    Explore static methods in Python, learn how to define them with a decorator, access them via class or object, and distinguish from instance methods through a practical student example.

  • Overview on Constructor6:24
  • Overview on Inheritance6:51

    Explore inheritance by showing how a parent class passes information to a child class and outline single level, multi level, hierarchical, and multiple inheritance.

  • Method overriding3:53

    Explore how overriding lets a child class replace a parent method’s logic, using a parent buy land example and a child’s overridden buy land method.

  • Overview on Modules Part 15:27

    Learn what a Python module is and how it enables reusability by grouping functions in a file. Import whole modules or specific functions for Playwright scripting.

  • Overview on Modules Part 22:53

    Learn how to access a class defined in another Python file by importing the module and instantiating the parent class, or by directly importing the class and calling its greeting.

  • Overview on Lambda functions with examples7:21

    Learn about anonymous lambda functions in Python, defined with the lambda keyword for single-line expressions. Discover how lambdas enable concise, readable code and high order functions.

  • Overview on Exceptions Part 19:02
  • Overview on Exceptions Part 211:22
  • Overview on Exceptions Part 33:48

    Explore Python exception handling with try, else, and finally blocks; learn when the else runs after a successful try and how finally executes regardless of errors, including practical examples.

  • Knowledge check

Requirements

  • No prior automation experience required
  • No prior Python knowledge needed
  • Basic understanding of software testing is helpful but not mandatory
  • Willingness to learn and practice along the way

Description

This course is a comprehensive, end-to-end automation testing program designed to take you from absolute basics to advanced, enterprise-level automation frameworks using Playwright with Python.

You will begin by learning Python from scratch, focusing specifically on concepts required for automation testing such as variables, loops, functions, object-oriented programming, and exception handling. This ensures even beginners can confidently follow along without prior programming experience.

Next, you will explore Playwright in depth, starting with its architecture and understanding how browsers, contexts, and pages work together. You will learn how to write reliable and stable automation tests using modern locators, smart assertions, and Playwright’s built-in auto-waiting mechanisms. The course covers real-world scenarios such as handling frames, multiple windows, alerts, file uploads, downloads, authentication.

The course then dives deep into Pytest, where you will master fixtures, markers, parametrization, parallel execution, test configuration, and reporting. You will learn how to design scalable and maintainable automation frameworks by following industry best practices like the Page Object Model and reusable utilities.

To future-proof your automation skills, this course introduces AI concepts in test automation, including Playwright MCP, intelligent test execution strategies, and how AI can enhance modern testing workflows.

Finally, you will learn how to integrate your automation framework with Jenkins, covering CI/CD pipelines, scheduled executions, test reporting, and real-world enterprise automation strategies.

By the end of this course, you will have hands-on experience building production-ready automation frameworks and the confidence to apply these skills in real projects, interviews, and professional environments.

Who this course is for:

  • Manual testers transitioning to automation
  • Automation testers upgrading to Playwright
  • QA engineers looking to learn Python-based automation
  • Testers interested in AI-driven testing approaches
  • Professionals preparing for real-world automation projects
  • Anyone aiming to build modern, CI/CD-ready test frameworks