
Explore Python fundamentals with dynamic typing, variables, and basic data types; master arithmetic, relational, and logical operators, plus concatenation, input handling, and type conversion.
Learn Python output formatting and conditional statements, including print formatting, percent formatting, curly braces with format, and if/elif/else and nested conditions for real-world tasks.
Explore python looping basics with while and for loops, learn to use range, apply match case as a switch alternative, and control flow with break and continue.
Learn Python strings from basics to advanced: create strings with quotes or the constructor, concatenate and slice, format with f-strings, and master common methods like in/not in, case conversions, find/replace.
Explore Python data types and collections, focusing on lists: mutability, indexing, slicing, and common operations like append, insert, remove, copy, extend, sort, and reverse for web and API automation workflows.
Explore Python functions and the difference from methods, including defining with def, calling with arguments, returning values, and using positional, keyword, or arbitrary arguments, plus variable scope.
Explore inheritance and polymorphism in Python, including single, multi-level, hierarchical, and multiple inheritance, plus overriding and basic method overloading with practical examples.
Learn how to work with text files in Python for Playwright testing: create, write, append, read, and manage files and directories using built-in open, os, and path checks.
Master Python exception handling by distinguishing errors from exceptions and using try, except, else, finally, and raise to handle runtime issues and customize errors in web automation.
Note: The URL used in the video demonstration is currently not working or may lead to an invalid website.
Please use the following URL for your practice instead:
https://demowebshop.tricentis.com/
Learn how to use pytest features to skip tests, group them with markers like sanity and regression, control execution order with order plugins, and run tests in parallel with xdist.
*Note: The URL used in the video demonstration is currently not working or may lead to an invalid website.
Please use the following URL for your practice instead:
https://demowebshop.tricentis.com/
Explore Playwright built-in locators in Python to identify web elements, perform actions, and validate outcomes, using methods like get by text, alt text, role, label, placeholder, title, and test id.
Master Playwright CSS locators by using id, class, and attributes with tag combinations, and contrast with XPath while understanding the DOM.
Learn to interact with web elements using Playwright with Python. Explore input boxes, radio buttons, and checkboxes with locators, validations, and actions like fill, check, and get attribute.
Master handle dropdowns with Playwright for Python by selecting options via label, value, or index in single and multi select dropdowns. Learn to inspect DOM, count options, and verify selections.
Learn to handle bootstrap and hidden dropdowns with Playwright in Python, exploring auto suggestions, dynamic options, and CSS-based strategies using Selector Hub and dev tools to locate and select options.
Explore browser context, pages, and the relationship between them to manage multiple tabs and popups in Playwright with Python, including handling authentication popups and switching between windows.
Learn how to generate pytest HTML reports and allure reports for Playwright tests in Python, including using pytest, installing pytest-html, configuring pytest.ini, and attaching screenshots on failures.
Learn to implement the page object model pattern with Playwright and Python. Organize page elements into dedicated page objects and reusable actions for login, home, and cart workflows.
Explore handling shadow dom elements with Playwright through CSS and built-in locators, including frame and shadow host navigation, contrasting with Selenium and XPath limitations.
Explore Playwright codegen, the test runner that records web interactions and auto-generates Python py test scripts with optional assertions and locators, helping you quickly build automated tests.
Generative AI & LLMs Overview
Prompt Engineering
Understanding AI Terms
Vibe Coding
Auto Healing
GitHub Copilot for Python Automation
Using Copilot to Generate Playwright Tests
Integration of PyCharm IDE +GitHub Copilot+ Playwright MCP
Generate and Run Automation tests by using Playwright MCP (Model Context Protocol)
Are you ready to take your test automation skills to the next level?
This course, “Learn Playwright with Python (Web & API Automation) ” is designed to help you become a modern automation engineer by mastering one of the most powerful and future-ready tools — Microsoft Playwright — using Python and Artificial Intelligence.
Playwright is fast, reliable, and built for modern testing challenges. In this hands-on course, you’ll learn how to automate web and API testing using Playwright with Python — from setup to advanced framework development.
Whether you’re a manual tester, a QA engineer, or a developer aspiring to move into automation testing, this course will guide you step-by-step — starting from basics and moving toward advanced, real-world frameworks.
What You Will Learn:
How to set up Playwright with Pytest and python
Interact with UI elements using CSS, text, and role-based selectors
Automate real-world user flows: clicking, typing, dropdowns, file uploads, alerts, iframes, and more
Handle dynamic waits, test assertions, and manage test data
Run tests in headless and headed modes, across multiple browsers
Configure parallel test execution and retry mechanisms
Build reusable test utilities and page objects using fixtures
Integrate API testing within your UI automation flows
Capture screenshots, record videos, and generate advanced test reports
Connect Playwright with Allure, CI tools, and GitHub Actions (optional module)
How to use Playwright MCP along with GitHub Copilot.
Who This Course Is For:
Manual testers transitioning to automation
QA Engineers / SDETs upgrading from Selenium or other tools
Developers adding end-to-end tests to their applications
Freshers and college students preparing for automation testing roles
No prior automation experience is required. This course starts from the basics and progresses step by step with clear explanations and practical examples.
Free Tools and Technologies Used:
Playwright
Python
PyCharm
Git and GitHub
Allure Reporting
Course Includes:
100% practical, hands-on content
Real-world test automation examples
Downloadable codebase and learning resources
Interview questions and answers
Quizzes and assignments for practice
Lifetime access and Udemy Certificate
By the End of This Course, You Will:
Build robust Playwright automation frameworks using Python/Pytest
Understand the complete test life cycle with real-time use cases
Be job-ready to attend automation interviews or work on Playwright projects
Gain in-demand web automation skills recognized across the industry
Playwright using Python Detailed Course Contents:
Module 1: Introduction to Playwright
What is Automation Testing?
Introduction to Playwright
Key Features of Playwright
Playwright Tools & Ecosystem
Playwright vs Selenium
Why choose Python with Playwright?
Playwright Supported Languages
Module 2: Python Programming Essentials
Python Setup
Installing Python & PyCharm
Python Basics
Comments, Keywords, Variables and Data Types
Operators (Arithmetic, Logical, Comparison)
Conditional Statements (if, elif, else, match-case)
Loops (for, while, nested)
Strings & Numbers
List, Tuple, Set & Dictionary
Python Functions
Global and Local variables
Types of arguments
Python OOPS Concepts
Class & Object
Methods Vs Constructors
Static Methods
Inheritance & Polymorphism
Method Overriding Vs Method Overloading
Encapsulation & Abstraction
Modules and packages
File Handling
Exception Handling
Module 3: PyTest
PyTest introduction and setup environment
Creating Pytest tests
Working with the Fixtures
Creating re-usable Fixtures
Skipping tests
Grouping tests
Ordering tests
Parallel execution
Module 4: Playwright Automation with Python &Pytest
Getting Started
Installing Playwright
Creating Tests
Running Tests in headless/headed modes
Running tests in parallel mode and multiple browsers
CLI commands to run tests with different parameters
Understanding Playwright sync vs async APIs
Locators
Playwright Built-in locators
CSS Selectors (tag, ID, class, attributes)
XPath
UI Interactions
Click, Fill, Check, Select
Handle radio buttons, checkboxes, and dropdowns
Handle dropdowns
Working with Elements
Get text: inner_text, text_content
Count elements
Use nth(), all(), first(), last() locators
Web Tables
Handle static & dynamic tables
Extract and validate rows & columns
Filtering and pagination
Date Pickers
Handling iFrames
Handling Dialogs
Mouse Actions
Keyboard Actions
File Uploads and Downloads
Browser context
Handle multiple pages/tabs/popups
Shadow DOM Handling
Module 5: Advanced Playwright Features
Auto-Waiting & Timeouts
Screenshots & Video Capture
Tracing with Trace Viewer
Debugging Techniques
Parameterized Tests using pytest.mark.parametrize
Data-Driven Testing with JSON, CSV, Excel
Codegen for Generating Tests
Playwright Test Reports (HTML, Allure)
Module 6: Framework Design & Development
Introduction to Automation Framework
Phases of Framework Design
Project Setup and Folder Structure
Playwright Configuration (playwright.config)
Custom conftestDOTpy and Fixtures
Page Object Model (POM)
Create Page Classes
Encapsulate Actions and Selectors
Data Files: JSON, CSV & Excel
Utility Functions and Data Providers
Faker Library for Dynamic Test Data
Adding and Tagging Test Cases
Generate HTML and Allure Reports
Run Tests using pytest.ini
Command Line Execution
Module 7: CI/CD & Git Integration
Git Basics
Git Init, Commit, Push, Branch
GitHub Integration
CI/CD with GitHub Actions
Setup GitHub Workflow for Playwright Tests
Environment Setup
Trigger tests on push/pull
CI/CD with Jenkins
Install Jenkins & Plugins
Configure Jobs and Pipelines
Run Playwright Tests in Jenkins Pipeline
Module 8: API Testing with Playwright + Python
REST API Basics
Making API Calls with Playwright APIRequestContext
GET, POST, PUT, PATCH, DELETE Requests
Dynamic Request Body using Faker, JSON files
Path & Query Parameters
Validating Status Code, Headers, JSON Body
Chaining API Requests
Authentication Methods
Basic Auth
Bearer Token
API Key
OAuth2
Module 9: Playwright Powered by AI (Bonus)
Generative AI & LLMs Overview
Prompt Engineering
Understanding AI Terms
Vibe Coding
Auto Healing
GitHub Copilot for Python Automation
Using Copilot to Generate Playwright Tests
Integration of PyCharm IDE +GitHub Copilot+ Playwright MCP
Generate and Run Automation tests by using Playwright MCP (Model Context Protocol)