Udemy

AI-Driven Test Automation: Playwright, Selenium, LLMs & More

Enroll Now
  • 661 Students
  • Updated 11/2025
4.5
(53 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
9 Hour(s) 4 Minute(s)
Language
English
Taught by
Karthik KK
Rating
4.5
(53 Ratings)
1 views

Course Overview

AI-Driven Test Automation: Playwright, Selenium, LLMs & More

Build Resilient Test Automation Frameworks from scratch with Self Healing, Caching, Visual Testing & Local LLMs

Transform Your Test Automation Code (Selenium & Playwright) with AI-Powered Intelligence

This comprehensive course teaches you how to build intelligent, resilient test automation frameworks that leverage local LLMs to reduce maintenance, improve test stability, and accelerate bug detection—all while maintaining complete test integrity.


What You'll Learn:

Foundation & Setup

  • Install and configure local LLMs using Ollama

  • Understand prompt engineering, context engineering & model behavior

  • Master the fundamentals of effective AI communication

Understanding Automation Problems & AI Solutions

  • Identify common automation pain points

  • Analyze traditional automation limitations

  • Learn how AI enables self-healing of locators in Selenium

  • Master prompting LLMs for alternative locators

Building Foundation - Local & Cloud LLM Communication

  • Build code to access local LLMs via Ollama API

  • Build code to access cloud LLMs via OpenAI API

  • Create centralized configuration to access LLMs

  • Understand how to extract LocatorType and LocatorValue from Selenium POM

  • Understand passing PageSource and Locator Context to LLMs

Building Intelligent Locator Strategy for Selenium

  • Understand deserialization of LLM responses

  • Implement AI Healing to get alternative locators from LLMs

  • Build AI Healing for different locator types (XPath, CSS, ID, Name)

  • Perform AI Healing code within self-healing logic

Building Intelligent Playwright Automation

  • Implement Self Healing for Playwright

  • Handle Different Locator Types AI Healing in Playwright

  • Ensuring existing Selenium Test code logic works for Playwright with POM

Building Visual Testing with Vision LLM Model

  • Understanding Vision Models and using them for Testing

  • How to prompt Vision model to get Page comparison

  • Implementing E2E Vision comparison

By completing this course, you'll master building intelligent test automation frameworks using Selenium and Playwright enhanced with local LLMs through Ollama. You'll confidently implement AI-powered locator strategies that reduce maintenance while preserving test integrity, create self-healing mechanisms with human oversight, and use prompt engineering to generate test scenarios from natural language

Course Content

  • 10 section(s)
  • 84 lecture(s)
  • Section 1 Introduction
  • Section 2 Running LLMs locally using Ollama
  • Section 3 Fundamentals: Understanding Prompt Engineering, Context Engineering & Vibe Code
  • Section 4 Understanding the Current Automation Test Problem and Solution with AI and LLMs
  • Section 5 Building Foundational Component: Talking with Local LLMs and Cloud AI LLMs
  • Section 6 Building Intelligent Locator Strategy using AI for Selenium
  • Section 7 Using Self Healing Locator in Page Object Model code of Selenium
  • Section 8 Building Intelligence Test Automation Code for Playwright
  • Section 9 Building Persistence Cache for Healed Locator for Observability and Retrieval
  • Section 10 Building Visual Testing using Vision Models (Locally and OpenAI)

What You’ll Learn

  • Basics of Prompt Engineering, Context Engineering and Vibe Coding
  • Applied Context Engineering and Prompt Engineering while writing Self healing code in Selenium/Playwright
  • Writing Self Healing Selenium/Playwright code with ZERO flaky UI Tests
  • Understand the Power of Local and Cloud LLMs while healing locators which are broken


Reviews

  • S
    Swara Dewarde
    4.5

    The content is pretty good.

  • A
    Ayesha
    5.0

    Selenium and Playwright Self healing and Vision testing is not covered in any other course, this is a very good overview and insight to get the full understanding of it!

  • L
    Luan Nguyen
    2.0

    Everything covered in this course aligns with the topics and questions I can address using AI

  • R
    Rameswar Rath
    4.0

    Good Stuff

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed