Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn Playwright with TypeScript (Web & API Testing)
Bestseller
Rating: 4.6 out of 5(4,698 ratings)
28,997 students

Learn Playwright with TypeScript (Web & API Testing)

TypeScript Programming, Playwright Web & AP I Testing, Playwright MCP & AI Agents
Created byPavan Kumar
Last updated 8/2026
English
Czech [Auto],German [Auto],

What you'll learn

  • TypeScript Programming
  • Web and API Automation testing
  • Advanced Features: Web and API Testing, Fixtures, and Reporting
  • Automation Framework Powered by AI
  • Playwright MCP , AI Test Agents & CLI
  • Docker & Jenkins Integration

Course content

9 sections61 lectures93h 23m total length
  • Introduction1:03:52

    Discover what Playwright is and why TypeScript strengthens its use for reliable end-to-end web testing. Explore cross-browser, cross-platform, API testing, mobile web testing, auto waiting, inspector, codegen, and trace viewer.

Requirements

  • Basic Testing Concepts
  • Familiarity with Programming Fundamentals
  • Basic Knowledge of Web Technologies

Description

Playwright with TypeScript: Complete Web & API Automation Powered by AI

Are you ready to master modern end-to-end web automation using one of the fastest-growing testing tools? This course takes you from beginner to advanced in Playwright with TypeScript through real-world projects, hands-on exercises, and industry best practices.

Whether you're a Manual Tester, QA Engineer, SDET, or Developer, you'll learn how to build scalable automation frameworks, perform UI and API testing, integrate CI/CD pipelines, and leverage AI-powered Playwright tools.

What You'll Learn

  • Set up Playwright with Node.js and TypeScript

  • Automate complete web application workflows

  • Master Playwright locators and selectors

  • Handle dynamic elements, iframes, alerts, uploads, and multiple tabs

  • Build reusable Page Object Model frameworks

  • Perform API testing with Playwright

  • Generate HTML and Allure reports

  • Execute parallel tests and data-driven testing

  • Integrate Git, GitHub Actions, and Jenkins

  • Use Playwright MCP, AI Agents, CLI, and GitHub Copilot for intelligent automation

Who This Course Is For?

  • Manual Testers moving into Automation

  • QA Engineers and SDETs upgrading from Selenium

  • Developers implementing end-to-end testing

  • Freshers preparing for Automation Testing interviews

No prior automation experience is required. Everything is taught from the ground up with practical examples.

Tools & Technologies

  • Playwright

  • TypeScript

  • Node.js

  • Visual Studio Code

  • Git & GitHub

  • Allure Reporting

  • GitHub Actions

  • Docker

  • Jenkins Pipeline

  • Playwright MCP & AI Agents

Course Includes

  • 100% practical hands-on training

  • Real-world automation projects

  • Downloadable source code and resources

  • Quizzes and assignments

  • Interview questions and answers

  • Lifetime access

  • Udemy Certificate of Completion

By the End of This Course

You will be able to build enterprise-level Playwright automation frameworks, automate both UI and APIs, implement CI/CD pipelines, and confidently work on real-world automation projects or attend Playwright interviews.

Course Curriculum

Module 1: Introduction to Playwright

  • Fundamentals of Automation Testing

  • What is Playwright?

  • Key Features & Benefits

  • Why Playwright is becoming popular

  • Playwright Tools & Ecosystem

  • JavaScript vs TypeScript

Module 2: TypeScript Programming

  • Overview of TypeScript

  • JavaScript vs TypeScript

  • Create and Run TypeScript Programs

  • Dynamic vs Static Typing

  • Type Safety

  • Type Annotations

  • Type Inference

  • Data Types

Object-Oriented Programming (OOP)

  • Classes

  • Constructors & Methods

  • Readonly Properties

  • Static Variables & Methods

  • Method Overloading

  • Inheritance & Types of Inheritance

  • Super Keyword

  • Method Overriding

  • Access Modifiers (Public, Private, Protected)

  • Encapsulation

  • Abstract Classes

Advanced TypeScript

  • Type Aliases

  • Interfaces

  • Enums

Module 3: Web Automation using Playwright

Getting Started

  • Installing Playwright and Project Setup

  • Writing Your First Automation Script

  • Understanding Async/Await & Promises

  • Running Tests in Headed & Headless Modes

  • HTML Reports & UI Mode

Locators & Selectors

  • Built-in Locators (getByText, getByRole, getByLabel)

  • CSS Selectors

  • XPath

  • Dynamic Element Handling

UI Interactions

  • Click, Type, Checkbox & Radio Button

  • Dropdown Handling

  • Web Tables

  • Date Pickers

Advanced UI Automation

  • iFrames

  • Multiple Browser Tabs

  • Alerts & Dialogs

  • Mouse & Keyboard Actions

  • Scrolling

  • File Uploads

Browser Features

  • Browser Contexts & Sessions

  • Cookies Management

  • Viewport Configuration

  • Proxy & SSL Handling

Special Topics

  • Shadow DOM

  • SVG Elements

Module 4: Advanced Playwright Features

Core Features

  • Auto-waiting

  • Timeout Strategies

  • Hard & Soft Assertions

  • Codegen Test Recording

  • Debugging Techniques

Reporting & Debugging

  • Screenshots

  • Video Recording

  • Trace Viewer

Test Management

  • Retries

  • Flaky Test Handling

  • Test Hooks

  • Test Grouping

  • Tags & Annotations

Execution

  • Parallel Test Execution

  • Parameterization

  • Data-driven Testing

Reporting

  • HTML Reports

  • Allure Report Integration

Framework Concepts

  • Page Object Model (POM)

  • Package.json Test Scripts

Advanced Testing

  • Visual Testing with Snapshot Comparison

  • Accessibility Testing using Axe (WCAG)

Module 5: API Testing using Playwright

API Automation

  • GET, POST, PUT, PATCH & DELETE

  • Static & Dynamic Request Bodies

  • Path Parameters

  • Query Parameters

  • API Chaining

Validations

  • Status Code Validation

  • Response Header Validation

  • JSON Response Validation

Authentication

  • Basic Authentication

  • Token Authentication

  • API Key Authentication

Advanced Topic

  • Network Interception

Module 6: Playwright Integration with AI

AI Fundamentals

  • Introduction to Generative AI

  • Large Language Models (LLMs)

  • Prompt Engineering

  • AI in Test Automation

  • Model Context Protocol (MCP)

  • GitHub Copilot for Automation

Hands-on Implementation

  • Playwright MCP Setup in VS Code

  • AI-based UI Test Generation

  • AI-based API Test Generation

  • Productivity Extensions

  • Vibe Coding Techniques

Playwright AI Agents

  • Planner Agent

  • Generator Agent

  • Healer Agent

Module 7: Automation Framework Design & Development Powered by AI

Framework Setup

  • Framework Architecture

  • Project Folder Structure

  • Configuration Management

Implementation

  • Page Object Classes

  • Test Data Management (JSON, CSV)

  • Utility & Helper Functions

  • Data Providers

  • Dynamic Test Data using Faker

Execution & Reporting

  • Tag-based Execution

  • Parallel & Sequential Execution

  • HTML Reports

  • Allure Reports

Module 8: CI/CD, Git, GitHub & Jenkins Integration

Version Control

  • Introduction to Git

  • GitHub Repositories

CI/CD Integration

  • GitHub Actions Setup

  • Docker Integration

  • Jenkins Integration

  • Building CI/CD Pipelines

  • Automated Test Execution

Who this course is for:

  • Manual Testers
  • Automation QA Engineers & SDETs
  • Developers
  • Students and Freshers